Continue certain tasks in grunt even if one fails
问题 Is there a way to configure a sequence of tasks so that specific subsequent ones (I don't want --force on the whole batch) run even if one fails? For example, consider a case like this Create some temporary files Run some unit tests which involve those temporary files Clean up those temporary files I can do this: grunt.registerTask('testTheTemp', ['makeTempFiles', 'qunit', 'removeTempFiles']); But if qunit fails then the removeTempFiles task never runs. 回答1: Here's one workaround. It's not