Commit 462c12ba authored by nkzawa's avatar nkzawa

gulp: add watch-pages

parent 960f50a0
......@@ -169,7 +169,8 @@ gulp.task('watch', [
'watch-bin',
'watch-lib',
'watch-server',
'watch-client'
'watch-client',
'watch-pages'
])
gulp.task('watch-bin', () => {
......@@ -198,6 +199,12 @@ gulp.task('watch-client', () => {
])
})
gulp.task('watch-pages', () => {
return gulp.watch('pages/**/*.js', [
'copy-pages'
])
})
gulp.task('clean', () => {
return del('dist')
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment