<p>When I change inside index.js file inside auth directory then skaffold stuck on <strong>watching for changes...</strong> I restarted but every time when I change it stuck</p>
<p>Syncing 1 files for test/test-auth:941b197143f22988459a0484809ee213e22b4366264d163fd8419feb07897d99</p>
<p>Watching for changes...</p>
<pre><code>&gt; auth
   &gt; node_modules
   &gt; src
      &gt; signup
          signup.js
      index.js
   &gt; .dockerignore
   &gt; Dockerfile
   &gt; package-lock.json
   &gt; package.json
&gt; infra
   &gt; k8s
      auth-depl.yaml
      ingress-srv.yaml
&gt; skaffold.yaml
</code></pre>
<p>My skaffold.yaml file is</p>
<pre><code>apiVersion: skaffold/v2alpha3
kind: Config
deploy:
  kubectl:
    manifests:
      - ./infra/k8s/*
build:
  local:
    push: false
  artifacts:
    - image: test/test-auth
      docker:
        dockerfile: Dockerfile
      context: auth
      sync:
        manual:
          - src: '***/*.js'
            dest: src
</code></pre>
<p>If I make change signup.js or index.js skaffold stuck.Please help me!</p>

Rishabh Soni
<p>Given the output you included above, I suspect that Skaffold is copying the file across:</p>
<blockquote>
<pre><code>Syncing 1 files for test/test-&gt; auth:941b197143f22988459a0484809ee213e22b4366264d163fd8419feb07897d99
Watching for changes...
</code></pre>
</blockquote>
<p>but your app is not set up to respond to file changes.  You need to use a tool like <code>nodemon</code> to watch for file changes and restart your app.  The Skaffold <a href="https://github.com/GoogleContainerTools/skaffold/tree/master/examples/hot-reload/node" rel="nofollow noreferrer"><code>hot-reload</code> example</a> shows one way to set this up.</p>
