Closed davidosomething closed 10 years ago
###
# concurrent
###
concurrent:
...
startJs: [
'concat:plugins' # makes js/build/plugins.js
'shell:hulk' # makes js/build/{templates,partials}.js
'coffee:app' # makes js/build/app.js
'coffee:headerFooter' # makes js/build/app.js
]
hulk:
hulk:
command: [
'./node_modules/hogan.js/bin/hulk --variable templates templates/* > js/build/templates.js'
'./node_modules/hogan.js/bin/hulk --variable partials templates/partials/* > js/build/partials.js'
'echo "window.Time.templates = templates;" >> js/build/templates.js'
'echo "window.Time.partials = partials;" >> js/build/partials.js'
].join('&&')
What Node version and OS are you on?
node v0.10.30
OSX 10.9.4
FYI it works outside of grunt-concurrent
This simple case fails too
concurrent: { sindre: [ 'shell:echo' ] }
shell: { echo: { command: 'echo Hi' } }
grunt concurrent:sindre
fixed in 1.0.1
Running a grunt shell task inside a grunt-concurrent task