2 Commits

Author SHA1 Message Date
50b0fd357a 1.0.32 2024-01-28 17:25:48 +01:00
42976a32d7 fix(core): update 2024-01-28 17:25:47 +01:00
3 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartchok",
"version": "1.0.31",
"version": "1.0.32",
"private": false,
"description": "smart wrapper for chokidar",
"main": "dist_ts/index.js",

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