|<- [[Bundling client scripts with Browserify]]|[[Automation with npm]] ->| (...) browserify: (...), watch: { css: { files: ["less/*.less"], // si ces fichiers sont modifiés tasks: ["css"], // grunt doit trigger ces tâches }, scripts: { files: ["app-client.js, "lib/*.js"], // si le js bouge tasks: ["jshint", "browserify"], // on run ces tâches } }, (...) grunt.loadNpmTasks("grunt-contrib-watch"); grunt watch // dans le terminal pour lancer les watches