We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71e2faf commit 3acd3e1Copy full SHA for 3acd3e1
packages/zenn-cli/cli/preview/index.ts
@@ -32,7 +32,7 @@ export const exec: cliCommand = async (argv) => {
32
const io = socketIo(server);
33
watcher.once("ready", () => {
34
io.on("connection", (socket) => {
35
- watcher.on("all", async (_, path) => {
+ watcher.once("all", async (_, path) => {
36
if (/articles|books/.test(path)) {
37
socket.emit("reload");
38
}
0 commit comments