summaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2013-10-09 02:37:02 -0700
committerkpdecker <kpdecker@gmail.com>2013-10-09 02:37:02 -0700
commit820cbb006ef05bf3a4fef915637cd5fee46a5373 (patch)
treef265d455e64c05cad1258ac8594de344aae4959a /Gruntfile.js
parent63bb459ac6a3b25d49265bc0ca1254540c06ddeb (diff)
downloadhandlebars.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.js8
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',