I have folders "app" and "dist". Two separate tasks are written: the first one monitors the files in the "app" folder, and the second unloads the project into production (the "dist" folder). Everything is OK, but there is one problem.

At some point, I wanted to implement a connection to the header and footer pages from separate files. The plugin "gulp-rigger" is usually used for this, but in all examples of its use the HTML file is taken, processed and cast into the "dist". And the "dist" is also monitored. But I have something wrong.

How do I implement templating so that the files work correctly in the "app" folder?

    0