From d6e25db56d84daa632f67d9e2d3e627be6d33a8a Mon Sep 17 00:00:00 2001 From: Wai-Yin Kwan Date: Thu, 27 Jul 2023 15:02:40 -0700 Subject: [PATCH] fix live reload on dev server --- serve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serve.js b/serve.js index 15a31557..bb79ebca 100644 --- a/serve.js +++ b/serve.js @@ -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(); });