M
M
MRcracker2018-10-06 18:33:25
Building projects
MRcracker, 2018-10-06 18:33:25

How to make Gulp follow js?

I use gulp and browser-sync. The task is to make gulp track changes in js files, but there are a lot of js files and when I add them to gulp, it starts to reboot many times and even reached the point that the laptop freezes. How can I fix this problem? I will say in advance that it is impossible to combine them into one, because they are used on different pages

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Balya, 2018-10-17
@Balya

Use something like gulp-changed to have Gulp process not all files in the heap, but only those that have changed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question