Fixed nodemon

master
Keith Irwin 2018-03-09 03:30:44 +00:00
parent 044b7c2d4f
commit 9e6fe72b6d
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
2 changed files with 7 additions and 3 deletions

View File

@ -44,7 +44,7 @@ npm run build && npm start
npm run nodemon
```
Nodemon will automatically rebuild and restart the app when you make changes. Check out the `nodemon.json` configuration.
Nodemon will automatically rebuild and restart the app when you make changes.
## Contributing

View File

@ -57,7 +57,7 @@
"audit": "node_modules/nsp/bin/nsp audit-package ; node_modules/nsp/bin/nsp audit-shrinkwrap",
"lint": "standard",
"start": "node server.js",
"nodemon": "nodemon server.js",
"nodemon": "nodemon",
"update": "sudo npm prune && sudo npm update",
"less": "for file in static/css/*.css; do lessc --clean-css $file static/css/.$(basename ${file%.*}).min.css; done",
"uglify": "for file in static/js/*.js; do uglifyjs $file --output static/js/.$(basename ${file%.*}).min.js --verbose --compress --mangle 'reserved=google.maps'; done",
@ -65,7 +65,11 @@
},
"nodemonConfig": {
"ext": "html, js, json, less, css",
"ignore": "['package.json','static/**/*.min.*','*.md','test/*','config/env/*']"
"ignore": "['static/**/*.min.*','*.md','test/*','config/env/*']",
"events": {
"start": "npm run build",
"restart": "npm run build"
}
},
"repository": "Tracman-org/Server",
"keywords": [