M
M
Maxim Pogrebnoy2019-05-02 08:27:48
gulp.js
Maxim Pogrebnoy, 2019-05-02 08:27:48

Double reboot BrowserSync?

There are two watchers in the Gulp build, one monitors changes in php and html files with a callback to browsersync.reload, the second monitors sass files and a callback for sequential execution of tasks for sass and reload. The php files contain the paths for the compiled styles in the usual way. Now, when I make changes to sass, not only does my sass task work up to three times, then reload, again sass task and reload again. I commented out the watcher for php and html, after that the sass task began to be processed normally ... Can you tell me what caused this behavior of Gulp?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question