Fix error when running `run-dev` after `clean` target

pull/4951/head
Christopher Henn 2018-08-01 11:16:07 -07:00 committed by Chris Henn
parent af7186f96c
commit b85269589a
2 changed files with 2 additions and 1 deletions

View File

@ -105,6 +105,7 @@ run: ${BINARY}
./chronograf
run-dev: chronogiraffe
mkdir -p ui/build
./chronograf -d --log-level=debug
clean:

View File

@ -11,7 +11,7 @@
"scripts": {
"start": "node parcel.js",
"build": "parcel build -d build --no-source-maps --public-url '' src/index.html",
"clean": "rm -rf ./build && rm -rf ./.cache",
"clean": "rm -rf ./build/* && rm -rf ./.cache",
"test": "jest",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",