mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
This commit is contained in:
@@ -17,7 +17,7 @@ if (isDev) {
|
||||
const debounce = (await import("debounce")).default;
|
||||
const debouncedReloadFrontend = debounce(() => reloadFrontend("source code change"), 200);
|
||||
chokidar
|
||||
.watch(isElectron ? "dist/src/public" : "src/public")
|
||||
.watch("src/public")
|
||||
.on("add", debouncedReloadFrontend)
|
||||
.on("change", debouncedReloadFrontend)
|
||||
.on("unlink", debouncedReloadFrontend);
|
||||
|
||||
Reference in New Issue
Block a user