Answer the question
In order to leave comments, you need to log in
How to run watch for webpack and grunt scss at the same time?
There is Gruntfile.js which runs webpack to collect js files and grunt-contrib-sass to compile scss files. I need to run watch in such a way that webpack --watch watches for changes in js files, and grunt watch: sass (grunt-contrib-watch) for scss files. How to do it?
Answer the question
In order to leave comments, you need to log in
Something like this: grunt.defineTask('dev', ['webpack', 'watch:scss'])
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question