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';