Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Reset build directory before building

Jo Spraguef26ae021672f
diff --git a/package.json b/package.json
index b8c3b1366..8b4a49588 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
},
"scripts": {
"browserstack": "node e2e/browserstack.js -c e2e/browserstack.conf.js -e browserstack --skiptags wip",
- "build": "run-s \"getcapabilities -- {1}\" \"build:config -- {1}\" --",
+ "build": "rm -rf build && run-s \"getcapabilities -- {1}\" \"build:config -- {1}\" --",
"postbuild": "run-p build:css build:js build:tests && grunt build site",
"build:css": "node ./tasks/buildCSS",
"build:config": "bash -c 'tasks/buildOptions.sh ${1}' 0",