Guys, help, please, otdebazhit your template for the development of the project. It lies here: https://github.com/sunndeath/Jade-Sass-Gulp-Template

It should work like this: 1. We have the dev folder and the prod folder 2. If the files in the dev folder change, they are concatenated, minified and sent to the prod folder, according to the paths specified. js-files, for example, from the dev \ plugins \ install folder should be sent to prod \ js \ plugins.min.js, while if we delete something from the dev folder, then plugins.min.js itself should also be updated, according to the changes in the dev folder.

There were difficulties with settings in gulpfile.js

I would be very grateful for the help.

    1 answer 1

    I understand the problems with processing new and deleted files. Gulp does not react to them at all, since gulp.watch cannot keep track of new and deleted files.

    Use for example gulp-watch

    This is how I use this plugin in my boilerplate