Closed darvelo closed 11 years ago
Yes this is possible, check out this config in grunt-concurrent: https://github.com/sindresorhus/grunt-concurrent#logging-concurrent-output.
I will add something to the README with this configuration to help people with this common use case.
Thanks for bringing this up!
Awesome, thank you. My problem seemed to be that I was using yeoman to scaffold out my app with grunt, and the version of grunt-concurrent put into package.json was lower than required for this feature.
Please do mention that grunt-concurrent ~0.2.0 is required. Also I think the example you linked needs an update. :) Please see Issue #7 for details.
I've been trying this out, but haven't come to a solid conclusion:
Is it possible to add this task to the list of tasks when
grunt server
is run and see the output in the terminal? I'd like to disable the grunt connect task and replace it with a nodemon task to an external server.js file. Being able to see the compass task and similar tasks run in the terminal output as well would also be awesome, but the nodemon task seems to block their execution when placed higher in the execution order, and doesn't seem to restart the server when files change either. I'm not using the loadNpmTasks function as recommended, but it doesn't seem to make a difference.