Closed davej closed 9 years ago
@robdodson Yes, it reloads too. Take a look at the JSHint task, it already pipes to reload.
It probably makes sense to move the reload call out of the jshint
task and add it to the appropriate watcher of the serve
task instead. It would be more readable and consistent with the other watch
rules. I didn't want to do it myself because I wasn't sure of the reason for $.if(!browserSync.active, $.jshint.reporter('fail'))
and I don't want to break anything or cause side-effects.
Hm ok I'll look into it. Thanks!
For some reason
gulp serve
wasn't watching elements' javascript. This fixes that.