Watch main.js sources

This commit is contained in:
Yuya Ochiai
2017-03-05 00:58:26 +09:00
parent 6f4010edf2
commit 83b84f9fbd
2 changed files with 36 additions and 1 deletions

View File

@@ -23,7 +23,8 @@
"build:main": "cross-env NODE_ENV=production webpack --bail --config webpack.config.main.js",
"build:renderer": "cross-env NODE_ENV=production webpack --bail --config webpack.config.renderer.js",
"start": "electron src",
"watch": "run-s watch:*",
"watch": "run-p watch:*",
"watch:main": "node scripts/watch_main_and_preload.js",
"watch:renderer": "webpack-dev-server --config webpack.config.renderer.js",
"serve": "gulp watch",
"test": "npm-run-all build test:* lint:*",