Answer the question
In order to leave comments, you need to log in
How to setup watch in grunt on jade?
watch: {
options: {
livereloader: true
},
css: {
files: ['assets/header/.scss'],
tasks: ['sass']
},
scripts: {
files: ['html/index.jade'],
tasks: ['jade'],
options: {
spawn: false
}
}
},
Answer the question
In order to leave comments, you need to log in
Look closely - you are forcing it to watch the .scss file. Correct to assets/header/*.scss.
With jade, I suspect a similar problem - check the paths.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question