Skip to content

Commit

Permalink
Merge pull request #383 from virtual-labs/local-deploy-cache-fix
Browse files Browse the repository at this point in the history
Removed caching for local deployments
  • Loading branch information
raj-vlabs authored Mar 5, 2024
2 parents 062f689 + 59776d3 commit 7437ebc
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 7437ebc

Please sign in to comment.