title: parcel watch not working:module not found
body: <p>My code successfully compiles when i run parcel with &quot;parcel serve&quot; or &quot;parcel build&quot;
  but when i run with &quot;parcel watch&quot;, i run into an error module not found</p>
  <p>my package.json:</p>
  <pre><code>   {
        &quot;name&quot;: &quot;geolocation-places&quot;,
        &quot;version&quot;: &quot;1.0.0&quot;,
        &quot;description&quot;: &quot;get location of nearyby places&quot;,
        &quot;source&quot;: &quot;./frontend/public/js/controller/index.js&quot;,
       &quot;scripts&quot;: {
        &quot;watch:js&quot;: &quot;parcel watch ./frontend/public/js/controller/index.js --dist-dir ./frontend/public &quot;,
        &quot;sass-dev&quot;: &quot;sass --watch --update --style=expanded frontend/public/sass/home.scss:frontend/public/css/styles.css&quot;,
        &quot;sass-prod&quot;: &quot;sass --no-source-map --style=compressed 
          sass/main.scss:css/stylesCompiled.css&quot;
   },
  
  
  &quot;author&quot;: &quot;eloho&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;engines&quot;: {
    &quot;node&quot;: &quot;14.15.3&quot;
  },
  
  
  
  &quot;dependencies&quot;: {
      &quot;array-sort&quot;: &quot;^1.0.0&quot;,
      &quot;axios&quot;: &quot;^0.27.2&quot;,
      &quot;core-js&quot;: &quot;^3.23.3&quot;,
      &quot;dotenv&quot;: &quot;^16.0.1&quot;,
      &quot;ejs&quot;: &quot;^3.1.8&quot;,
      &quot;esri-loader&quot;: &quot;^3.5.0&quot;,
      &quot;express&quot;: &quot;^4.18.1&quot;,
      &quot;express-session&quot;: &quot;^1.17.3&quot;,
      &quot;geolib&quot;: &quot;^3.3.3&quot;,
      &quot;mongoose&quot;: &quot;^6.3.6&quot;,
      &quot;regenerator-runtime&quot;: &quot;^0.13.9&quot;,
      &quot;socket.io&quot;: &quot;^4.5.1&quot;,
      &quot;uuid&quot;: &quot;^8.3.2&quot;
    },
  
    &quot;devDependencies&quot;: {
      &quot;parcel&quot;: &quot;^2.6.0&quot;,
      &quot;parcel-transformer-ejs&quot;: &quot;^1.0.0&quot;,
      &quot;process&quot;: &quot;^0.11.10&quot;
    }
  }
  </code></pre>
  <p>Thanks...</p>