mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 20:07:47 +08:00
Merge pull request #247 from coralproject/prevent-server-restart
add nodemon config to prevent server restart while developing front end
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"verbose": true,
|
||||
"ignore": ["tests/*", "client/*", "dist/*"]
|
||||
}
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"main": "app.js",
|
||||
"scripts": {
|
||||
"start": "./bin/cli serve --jobs",
|
||||
"dev-start": "nodemon --exec \"./bin/cli -c .env serve --jobs\"",
|
||||
"dev-start": "nodemon --config .nodemon.json --exec \"./bin/cli -c .env serve --jobs\"",
|
||||
"build": "NODE_ENV=production webpack --config webpack.config.js --bail",
|
||||
"build-watch": "NODE_ENV=development webpack --config webpack.config.dev.js --watch",
|
||||
"lint": "eslint bin/* .",
|
||||
|
||||
Reference in New Issue
Block a user