Using node-sass watch option with npm run-script
<p>So I'm running tasks in npm package scripts but I want to pass the watch option in <code>npm start</code>.</p>

<p>This works:</p>

<pre><code>"scripts": {
  "scss": "node-sass src/style.scss dist/style.css -w"
}
</code></pre>

<p>This doesn't compile, watch, or throw any error:</p>

<pre><code>"scripts": {
  "scss": "node-sass src/style.scss dist/style.css",
  "start": "parallelshell \"npm run scss -- -w\""
}
</code></pre>

<p>Doesn't work without parallelshell either or without shorthand.</p>

<p>I assume the problem is the run-script is passing the extra argument in quotes, so the command comes out like:</p>

<pre><code>node-sass src/style.scss dist/style.css "-w"
</code></pre>

<p>I'd like this to work without adding any dependencies. What am I missing?</p>

<p>Btw, I'm in Windows 10 with command prompt/git bash.</p>