mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 08:34:11 +03:00
Add watch task (see #179)
This commit is contained in:
parent
834e75cdd6
commit
3a85c9060b
@ -256,6 +256,13 @@ gulp.task('page-styles', function() {
|
||||
});
|
||||
});
|
||||
|
||||
// Watch styles
|
||||
gulp.task('watch', [], function(){
|
||||
gulp.watch(config.pageStylesPath + '/**/*.handlebars', ['page-styles']);
|
||||
gulp.watch(config.chatStylesPath + '/**/js/source/**/*.js', ['chat-styles-js']);
|
||||
gulp.watch(config.chatStylesPath + '/**/*.handlebars', ['chat-styles-handlebars']);
|
||||
});
|
||||
|
||||
// Generate .pot files based on the sources
|
||||
gulp.task('generate-pot', function() {
|
||||
return eventStream.merge(
|
||||
|
Loading…
Reference in New Issue
Block a user