diff options
author | kpdecker <kpdecker@gmail.com> | 2013-10-09 02:37:02 -0700 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2013-10-09 02:37:02 -0700 |
commit | 820cbb006ef05bf3a4fef915637cd5fee46a5373 (patch) | |
tree | f265d455e64c05cad1258ac8594de344aae4959a /Gruntfile.js | |
parent | 63bb459ac6a3b25d49265bc0ca1254540c06ddeb (diff) | |
download | handlebars.js-820cbb006ef05bf3a4fef915637cd5fee46a5373.zip handlebars.js-820cbb006ef05bf3a4fef915637cd5fee46a5373.tar.gz handlebars.js-820cbb006ef05bf3a4fef915637cd5fee46a5373.tar.bz2 |
Fix concurrent traceur exec error
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index db27188..ebd03c3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -64,9 +64,15 @@ module.exports = function(grunt) { 'parser', 'transpile:amd', 'transpile:cjs', - 'packager', + 'packager-fork', 'uglify']); + grunt.registerTask('packager-fork', function() { + // Allows us to run the packager task out of process to work around the multiple + // traceur exec issues + grunt.util.spawn({grunt: true, args: ['packager']}, this.async()); + }); + // Run a server. This is ideal for running the QUnit tests in the browser. this.registerTask('server', [ 'build', |