Grunt Concurrent cannot run too many tasks

Viewed 6783

I'm trying to run multiple watch tasks with grunt, but it seems to not be able to. I'm using grunt concurrent, but it seems to only run a portion of the tasks I specify, stopping just short.

Here is the snippet of my gruntfile:

concurrent:
  compile:
    tasks: ["watch:app", "watch:html", "watch:images", "watch:lib", "watch:server"]
    options:
      logConcurrentOutput: true

When I run this, the output shows:

Running "concurrent:compile" (concurrent) task
Running "watch:images" (watch) task
Waiting...Running "watch:app" (watch) task
Waiting...Running "watch:html" (watch) task
Waiting...Running "watch:lib" (watch) task
Waiting...

For some reason, it's skipping my server task completely. I initially thought the server tasks was not setup correctly, but I can remove a watch task, and it will correctly run the server task along with the other 3, it just cannot run all 5 at once.

Am I implementing this inappropriately?

1 Answers
Related