fix(core): update

This commit is contained in:
Philipp Kunz 2024-01-28 17:25:47 +01:00
parent b214de9370
commit 42976a32d7
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartchok',
version: '1.0.31',
version: '1.0.32',
description: 'smart wrapper for chokidar'
}

View File

@ -95,7 +95,11 @@ export class Smartchok {
const done = plugins.smartpromise.defer<void>();
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';