mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
headless-sync-server-plugin
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user