From 4c6b8c20b8f6a5aab75e93e172c5633187c0da4d Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Mon, 29 Jun 2015 16:46:08 -0700 Subject: [PATCH] make sure `npm start` runs `./build.sh` Otherwise assets will not build correctly. Maybe there should be a check somewhere, as it took me a while to figure out what was wrong --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4df0b0195..01b934891 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node_modules/.bin/electron index.js 2>&1 | node_modules/.bin/silence-chromium", + "start": "./build.sh && node_modules/.bin/electron index.js 2>&1 | node_modules/.bin/silence-chromium", "lint": "git diff --name-only --cached --relative | egrep .js$ | xargs --no-run-if-empty standard", "package": "./build.sh && node pkg.js", "package-all": "./build.sh && node pkg.js --all"