title: How can you get grunt watch to continue after it runs into a karma pause?
body: <p>According to <a href="http://docs.angularjs.org/tutorial/step_03" rel="nofollow">Angular's documentation</a></p>
  
  <blockquote>
    <p>Add a pause() statement inside of an end-to-end test and rerun it. You'll see the runner pause; this gives you the opportunity to explore the state of your application while it is displayed in the browser. The app is live! You can change the search query to prove it. Notice how useful this is for troubleshooting end-to-end tests.</p>
  </blockquote>
  
  <p>I use this quite a bit in my end to end testing, but I've hit a bit of a snag. I have my dev environment set up with grunt to behave like so:</p>
  
  <pre><code>grunt.registerTask('test:watch', [
      'clean:server',
      'concurrent:server',
      'autoprefixer',
      'connect:livereload',
      'karma:unit',
      'open',
      'karma:e2e',
      'watch'
    ]);
  </code></pre>
  
  <p>The interesting bits here are how karma is set up and how watch is set up with karma, so check these out:</p>
  
  <pre><code>karma: {
    options: {
      configFile: 'karma.conf.js',
    },
    e2e: {        
      singleRun: false,
      background: true,
      configFile: 'karma-e2e.conf.js',
    },
    unit: {
      singleRun: false,
      background: true        
    }
  }
  </code></pre>
  
  <p>and the watch looks like this</p>
  
  <pre><code>watch: {
    karma: {
      files: ['test/**/*.js'],
      tasks: ['karma:unit:run', 'karma:e2e:run']
    }
  }
  </code></pre>
  
  <p>So, when I run </p>
  
  <blockquote>
    <p>grunt test:watch</p>
  </blockquote>
  
  <p>I get my server spun up so I can play with it, and every time I change a file my unit tests run, followed by my end to end tests. It works quite nicely. The problem is, when I use pause in my end to end tests, the console stops at the pause and I don't know how to tell it to resume without just having to kill the command and start over again.</p>
  
  <p>In case you are wondering, I have the Scenario Runner running on a separate browser which is where the pause() comes in handy. On that side, everything is working fine, and I can resume it on the browser and everything is great.</p>
  
  <p>But the question remains, how can I get the watch to continue "evaluating" the end to end tests through bash console once it hits the pause()?</p>