title: Running protractor when webdriver-manager start finishes
body: <p>I'm having trouble writing a npm script for starting my protractor tests.
  Following the documentation <a href="https://github.com/angular/protractor/blob/master/docs/server-setup.md" rel="nofollow">https://github.com/angular/protractor/blob/master/docs/server-setup.md</a> seems that first I have to run</p>
  
  <pre><code>webdriver-manager start
  </code></pre>
  
  <p>and leave it running while I'm starting the actual tests</p>
  
  <pre><code>./node_modules/.bin/protractor test/integration/conf.js
  </code></pre>
  
  <p>I want these two steps to execute inside one npm script, so I would end up with something like this:</p>
  
  <pre><code>"scripts": {
      "protractor-update": "./node_modules/.bin/webdriver-manager update",
      "protractor-start": "./node_modules/.bin/webdriver-manager start",
      "protractor-init": "npm run protractor-update &amp;&amp; npm run protractor-start",
      "test-protractor": "npm run protractor-start &amp;&amp; ./node_modules/.bin/protractor test/integration/conf.js",
  },
  </code></pre>
  
  <p>Now obviously the problem is that <code>./node_modules/.bin/webdriver-manager start</code> doesn't return an exit code so it never makes to the next command.</p>
  
  <p>What would be the proper way of achieving this?</p>