I\'m using Grunt to compile CoffeeScript and Stylus with a watch task. I also have my editor (SublimeText) set to save files every time I page away from them (I hate losing work
Register your own task, which will run the tasks you want. Then you have to pass the force
option:
grunt.registerTask('myTask', 'runs my tasks', function () {
var tasks = ['task1', ..., 'watch'];
// Use the force option for all tasks declared in the previous line
grunt.option('force', true);
grunt.task.run(tasks);
});