mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-30 22:41:47 -05:00
Add scripts for nodemon
This commit is contained in:
parent
6fd2e64316
commit
4d26e1d695
@ -12,6 +12,13 @@ var path = require('path');
|
|||||||
gulp.task('start', function() {
|
gulp.task('start', function() {
|
||||||
nodemon({
|
nodemon({
|
||||||
script: 'server.js',
|
script: 'server.js',
|
||||||
|
ignore: '*.*'
|
||||||
|
});
|
||||||
|
})
|
||||||
|
|
||||||
|
gulp.task('watch', function () {
|
||||||
|
nodemon({
|
||||||
|
script: 'server.js',
|
||||||
ext: 'js html css',
|
ext: 'js html css',
|
||||||
env: {'NODE_ENV': 'dev'},
|
env: {'NODE_ENV': 'dev'},
|
||||||
watch: [
|
watch: [
|
||||||
|
Loading…
Reference in New Issue
Block a user