Skip to content

Commit

Permalink
Removed caching for local deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-vlabs committed Mar 5, 2024
1 parent 062f689 commit 59776d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function deployLocal(src) {
// Deploy
try {
log.debug("Deploying locally");
const child = shell.exec(`npx http-server -p 0 ${bp} -o /index.html`, { async: true });
const child = shell.exec(`npx http-server -p 0 -c-1 --no-dotfiles ${bp} -o /index.html`, { async: true });
child.stdout.on('data', function(data) {
console.log(data);
});
Expand Down

0 comments on commit 59776d3

Please sign in to comment.