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

@ -9,7 +9,14 @@ var cleanCSS = require('gulp-clean-css');
var nodemon = require('gulp-nodemon'); var nodemon = require('gulp-nodemon');
var path = require('path'); var path = require('path');
gulp.task('start', function () { gulp.task('start', function() {
nodemon({
script: 'server.js',
ignore: '*.*'
});
})
gulp.task('watch', function () {
nodemon({ nodemon({
script: 'server.js', script: 'server.js',
ext: 'js html css', ext: 'js html css',