From 42976a32d74ad4f0ebf2e555234bb1a1fa66c1ab Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 28 Jan 2024 17:25:47 +0100 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartchok.classes.smartchok.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 8070c6b..985942b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartchok', - version: '1.0.31', + version: '1.0.32', description: 'smart wrapper for chokidar' } diff --git a/ts/smartchok.classes.smartchok.ts b/ts/smartchok.classes.smartchok.ts index 0124ca7..afe4ea9 100644 --- a/ts/smartchok.classes.smartchok.ts +++ b/ts/smartchok.classes.smartchok.ts @@ -95,7 +95,11 @@ export class Smartchok { const done = plugins.smartpromise.defer(); this.status = 'starting'; this.watcher = new plugins.watcher( - this.watchStringmap.getStringArray().map((string) => this.getGlobBase(string)) + this.watchStringmap.getStringArray().map((string) => this.getGlobBase(string)), + { + depth: 20, + recursive: true, + } ); this.watcher.on('ready', () => { this.status = 'watching';