Y
Y
yabivipil2017-01-10 14:40:10
Sass
yabivipil, 2017-01-10 14:40:10

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

1 answer(s)
K
Konstantin Kitmanov, 2017-01-10
@k12th

Something like this: grunt.defineTask('dev', ['webpack', 'watch:scss']).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question