Answer the question
In order to leave comments, you need to log in
How to set cache for files with mixins only?
I'm trying to reduce the time to compile the project. The folder structure is like this:
/pug
/common
layout.pug
/components
blocks.pug
components.pug
elements.pug
index.pug
...
gulp.watch(['src/pug/*.pug'], compilePagesPug);
gulp.watch(['src/pug/common/*.pug', 'src/pug/components/*.pug'], compileAllPug);
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