title: How to get npm run script run the build:style script when CSS files are updated?
body: <p>In my package.json I have run scripts that look like:</p>
  
  <pre><code>  "scripts": {
      "build:style":"tailwind build src/styles/index.css -o src/styles/tailwind.css",
      "start": "npm run build:style &amp;&amp; react-scripts start",
      "build": "react-scripts build",
      "test": "react-scripts test",
      "eject": "react-scripts eject"
    },
  </code></pre>
  
  <p>I'm using this tailwindcss framework for CSS, and it uses PostCSS to update the CSS.<br>
  Currently if I update my CSS npm doesn't run the build, so my CSS changes are not visible until I stop and re-rerun:</p>
  
  <pre><code>npm run start
  </code></pre>
  
  <p>Is there a way for npm to watch the CSS files, and when changed also run the build:style command?</p>