Y
Y
Yuri Kucherenko2016-03-16 01:48:22
JavaScript
Yuri Kucherenko, 2016-03-16 01:48:22

How to solve the task problem in Gulp?

Hello everyone, the problem is the following, I write in Jade, there is a main jade folder with a bunch of subfolders where modules, components, base, pages, and so on are located. Then all this is successfully imported and compiled into HTML, the problem arises when over 5 pages are collected on the site and the gallp monitors all these pages and updates ALL pages while saving even one file. 922da98bc4cb4bf18f76d5d91f510a0b.png
Of course, this is not suitable because why do I need to update everything when I save only one page
Exit - rebuild on change
That is, the gallp updates and monitors ONLY the current file, saved _home.jade everything was compiled and only one page was updated, I installed / registered everything.
Problem - here I noticed that when saving .jade files, nothing has changed except for the name of the task in the terminal, before it showed that 6 pages had changed, and now it just writes "starting jade after ..." And he continues to update everything when saving one page 6, why is this happening?
I guess I super confused with the explanation of the problem, if that I am ready to explain what is where clearly.
Screenshots:
eb326fc008d1411cbb97081ccdf3cb07.png
This is the Jay task itself
38c2e901e9eb4fecb4b9e53eb4f8d9ad.png
And the task itself and the default

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