mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 10:00:38 +09:00
Expand kitchen sink plugin demos
This commit is contained in:
parent
6fa1dd2197
commit
cb5d7e76fb
19 changed files with 1602 additions and 116 deletions
|
|
@ -101,6 +101,14 @@ export function createPluginDevWatcher(
|
|||
);
|
||||
});
|
||||
|
||||
watcher.on("error", (err) => {
|
||||
log.warn(
|
||||
{ pluginId, packagePath: absPath, err: err instanceof Error ? err.message : String(err) },
|
||||
"plugin-dev-watcher: watcher error, stopping watch for this plugin",
|
||||
);
|
||||
unwatchPlugin(pluginId);
|
||||
});
|
||||
|
||||
watchers.set(pluginId, watcher);
|
||||
log.info(
|
||||
{ pluginId, packagePath: absPath },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue