mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Add cmd interface
Code refactoring
This commit is contained in:
parent
e6e1a19477
commit
962391e2a0
23 changed files with 180 additions and 223 deletions
|
|
@ -622,14 +622,10 @@ gulp.task('default', function(callback) {
|
|||
});
|
||||
|
||||
// watch
|
||||
gulp.task('css:watch', ['css:main'], function() {
|
||||
gulp.task('watch', ['css:watch', 'js:validate:watch'], function() {
|
||||
cfg.watch = true;
|
||||
livereload.listen();
|
||||
gulp.watch(cfg.paths.less.main.watch, {interval: cfg.watchInterval}, ['css:main']);
|
||||
});
|
||||
|
||||
gulp.task('js:validate:watch', ['js:validate'], function() {
|
||||
cfg.watch = true;
|
||||
gulp.watch(cfg.paths.globjs, {interval: cfg.watchInterval}, ['js:validate']);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue