Skip to content

Commit 2e8cbe2

Browse files
filesystem auto-reload interval of 5secs added
1 parent cda0170 commit 2e8cbe2

File tree

1 file changed

+4
-0
lines changed
  • app-dev/devops-and-containers/container-instances/ci-nginx-with-volumes-example/files/source

1 file changed

+4
-0
lines changed

app-dev/devops-and-containers/container-instances/ci-nginx-with-volumes-example/files/source/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ async function mount(osClient, namespace, bucket, www_path)
6363
console.log(files[i].name);
6464
await downloadFile(osClient, namespace, bucket, files[i], www_path);
6565
}
66+
67+
setTimeout(function() {
68+
mount(osClient, namespace, bucket, www_path);
69+
}, 5000);
6670
}
6771

6872
async function downloadFile(osClient, namespace, bucket, file, path)

0 commit comments

Comments
 (0)