Skip to content

Commit b2f2704

Browse files
authored
Merge pull request #2117 from oracle-devrel/ci-nginx-with-volumes-example-filesystem-autoreload-add
filesystem auto-reload interval of 5secs added
2 parents cda0170 + 2e8cbe2 commit b2f2704

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)