1
0
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:
Jack 2017-10-20 17:43:19 -04:00
parent 6fd2e64316
commit 4d26e1d695
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -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: [