From 02bab1e37afaa0a73b2a82ebb5c67623a75e293f Mon Sep 17 00:00:00 2001 From: reggi Date: Wed, 21 Oct 2015 15:40:46 -0400 Subject: [PATCH] added concurrent dev script --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6ac3bee..8526311 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "hot-dev-server": "webpack-dev-server --config webpack-hot-dev-server.config.js --hot --progress --colors --port 2992 --inline", "build": "webpack --config webpack-production.config.js --progress --profile --colors", "start-dev": "node lib/server-development", - "start": "node lib/server-production" + "start": "node lib/server-production", + "dev": "concurrent --kill-others \"npm run hot-dev-server\" \"npm run start-dev\"" }, "keywords": [ "webpack", @@ -49,6 +50,7 @@ }, "devDependencies": { "babel-eslint": "^3.0.1", + "concurrently": "^0.1.1", "eslint": "^0.22.0", "eslint-plugin-react": "^2.2.0" }