Adding the ability to use catch-all listeners

This commit is contained in:
Jonathan Putney
2020-05-25 17:06:51 -04:00
parent db1477fedc
commit f791aeec7b
8 changed files with 80 additions and 31 deletions

View File

@@ -12,6 +12,15 @@ module.exports = function(grunt) {
src: ['test/**/*.spec.js'],
},
},
watch: {
scripts: {
files: ['src/**/*.js'],
tasks: ['browserify:development'],
options: {
spawn: false,
},
},
},
browserify: {
development: {
src: [
@@ -69,6 +78,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('test', 'mochaTest');