Reputation: 30671
I am using the following JSHint Grunt task, which is passing okay:
jshint: {
options: {
ignores: ['js/characters/**/*.js','js/libs/**/*.js','js/text.js','js/video.js'],
predef: ['define', 'require'],
reporter: require('jshint-stylish'),
curly: true,
eqnull: true,
eqeqeq: true,
undef: false,
},
all: ['js/**/*.js'],
}
I am trying to configure it to work within a watch task:
watch: {
scripts: {
files: ['<%= jshint.all %>'],
ignores: ['js/characters/**/*.js','js/libs/**/*.js','js/text.js','js/video.js'],
tasks: ['jshint']
},
css: {
files: ['**/*.sass'],
tasks: ['compass'],
options: {
livereload: true,
}
}
}
but every time I change a JS file, the watch exits with Bus error: 10
Upvotes: 4
Views: 1310