From b85269589a5a61b972f6b619d1db4aaff77b6b5f Mon Sep 17 00:00:00 2001 From: Christopher Henn Date: Wed, 1 Aug 2018 11:16:07 -0700 Subject: [PATCH] Fix error when running `run-dev` after `clean` target --- Makefile | 1 + ui/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 97118d737..321739e68 100644 --- a/Makefile +++ b/Makefile @@ -105,6 +105,7 @@ run: ${BINARY} ./chronograf run-dev: chronogiraffe + mkdir -p ui/build ./chronograf -d --log-level=debug clean: diff --git a/ui/package.json b/ui/package.json index e441a931d..b8756d925 100644 --- a/ui/package.json +++ b/ui/package.json @@ -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",