Skip to content

Commit

Permalink
Merge pull request #123 from wykhuh/fix/dev-server
Browse files Browse the repository at this point in the history
fix live reload on dev server
  • Loading branch information
mathewjordan authored Jul 27, 2023
2 parents f8f3cb8 + d6e25db commit d4f64cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const { buildHTML } = require("./utils/html.js");
interval: 0, // No delay
})
// Rebuilds esbuild (incrementally -- see `build.incremental`).
.on("all", () => {
.on("change", () => {
builder.rebuild();
});

Expand Down

0 comments on commit d4f64cb

Please sign in to comment.