Fixed nodemon
parent
044b7c2d4f
commit
9e6fe72b6d
|
@ -44,7 +44,7 @@ npm run build && npm start
|
||||||
npm run nodemon
|
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
|
## Contributing
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
"audit": "node_modules/nsp/bin/nsp audit-package ; node_modules/nsp/bin/nsp audit-shrinkwrap",
|
"audit": "node_modules/nsp/bin/nsp audit-package ; node_modules/nsp/bin/nsp audit-shrinkwrap",
|
||||||
"lint": "standard",
|
"lint": "standard",
|
||||||
"start": "node server.js",
|
"start": "node server.js",
|
||||||
"nodemon": "nodemon server.js",
|
"nodemon": "nodemon",
|
||||||
"update": "sudo npm prune && sudo npm update",
|
"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",
|
"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",
|
"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": {
|
"nodemonConfig": {
|
||||||
"ext": "html, js, json, less, css",
|
"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",
|
"repository": "Tracman-org/Server",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
Loading…
Reference in New Issue