headless-sync-server-plugin

This commit is contained in:
Nystik
2026-03-28 16:22:15 +01:00
parent d5ed898839
commit d8804daf2b
7 changed files with 355 additions and 0 deletions

View File

@@ -70,6 +70,11 @@ export function createWatcherClient(metadataCache, contentCache, fsWatch) {
}
function handleEvent(msg) {
// Skip channel-based plugin messages, those are for other listeners
if (msg.channel) {
return;
}
const { type, path, stat } = msg;
if (!type || !path) return;