Answer the question
In order to leave comments, you need to log in
Why is gulp.watch taking a long time to start?
There is this code:
gulp.task("watchLibraries", function(){
//For JS
gulp.watch(["assets/js/libraries/**/*.js", "!**/*.min.js"]).on("change", function(event){
compileJs(event.path); //Сжимает js-код
});
//For CSS
gulp.watch(["assets/js/libraries/**/*.css", "!**/*.min.css"]).on("change", function(event){
compileCss(event.path); //Сжимает CSS код
});
});
gulp watchLibraries
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question