mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-30 14:31:42 -05:00
Add scripts for nodemon
This commit is contained in:
parent
6fd2e64316
commit
4d26e1d695
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user