I'm pretty new to gulp, here's what's happening
I did have:
gulp.watch(config.build.sass + '/**/*.scss', ['sass-dev']);
But this didn't catch any new files, so after reading the docs I need to have:
gulp.watch({
glob: config.build.sass + '/**/*.scss',
emit: 'all'
}, ['sass-dev']);
But this throws an error: Object #<Object> has no method 'indexOf'
as the last part is incorrect.
Can anyone tell me the syntax I need to run my sass-dev
task on anything emitted from watch?