title: How to run two grunt watch tasks simultaneously
body: <p>Is it possible to run two watch tasks simultaneously?</p>
  
  <p>I understand that I can have any number of tasks I want inside <em>watch</em> settings and just launch <em>grunt watch</em> and it will watch all of them, like this</p>
  
  <pre><code>...
  watch: {
      A: {
          files: "js/dev/**/*.coffee",
          tasks: ["coffee", "requirejs"]
      },
      B: {
          files: "js/dev/**/*.coffee",
          tasks: ["coffee"]
      },
      C: {
          files: "js/dev/**/*.html",
          tasks: ["copy"]
      }
  }
  ...
  </code></pre>
  
  <p>...but I don't need this. I just want to have different set of tasks for development and production. As you can guess, the only difference between <em>A</em> (production) and <em>B</em> (development) is minification and concatenation. I don't need to launch <em>A</em> and <em>B</em> tasks at the same time.</p>
  
  <p>First I came with this idea</p>
  
  <pre><code>grunt.registerTask("prod", ["watch:A", "watch:C"]);
  grunt.registerTask("dev", ["watch:B", "watch:C"]);
  </code></pre>
  
  <p>But this didn't work. Just first watch tasks is working (<em>C</em> never works). Is that possible to do what I want?</p>