From caed6c38e3eb072f7122a23dbd3b611a96cfe7b9 Mon Sep 17 00:00:00 2001 From: Joel Chen Date: Fri, 16 Sep 2016 13:20:49 -0700 Subject: [PATCH] watch for .isomorphic-loader-config.json changes to restart server (#10) --- packages/electrode-archetype-react-app/arch-gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/electrode-archetype-react-app/arch-gulpfile.js b/packages/electrode-archetype-react-app/arch-gulpfile.js index 1717f428f..18a72ff48 100644 --- a/packages/electrode-archetype-react-app/arch-gulpfile.js +++ b/packages/electrode-archetype-react-app/arch-gulpfile.js @@ -192,7 +192,7 @@ const tasks = { task: `node server/index.js` }, "server-debug": `node debug server/index.js`, - "server-watch": `nodemon --ext js,jsx --watch client --watch server --watch config server/index.js --exec node`, + "server-watch": `nodemon --ext js,jsx --watch .isomorphic-loader-config.json --watch server --watch config server/index.js --exec node`, "server-dev": { desc: "Start server in dev mode with webpack-dev-server", task: `webpack-dev-server --config ${config.webpack}/webpack.config.dev.js --progress --colors --port ${archetype.webpack.devPort}`