|
|
@ -9,11 +9,11 @@ gulp.task('server',(cb)=>{ |
|
|
|
var server = liveserver.new(['--harmony','server/bin/www']); |
|
|
|
server.start(); |
|
|
|
|
|
|
|
gulp.watch(['server/public/**/*.js', 'server/public/**/*.ejs'], function(file){ |
|
|
|
server.notify.apply(server, [file]) |
|
|
|
gulp.watch(['server/public/**/*.js','server/views/**/*.ejs'],function(file){ |
|
|
|
server.notify.apply(server,[file]); |
|
|
|
}) |
|
|
|
|
|
|
|
gulp.watch(['server/routes/**/*.js','server/app.js'],function(){ |
|
|
|
server.start.bind(server)() |
|
|
|
}) |
|
|
|
}); |
|
|
|
}) |