fix(core): update
This commit is contained in:
parent
b214de9370
commit
42976a32d7
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartchok',
|
name: '@push.rocks/smartchok',
|
||||||
version: '1.0.31',
|
version: '1.0.32',
|
||||||
description: 'smart wrapper for chokidar'
|
description: 'smart wrapper for chokidar'
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,11 @@ export class Smartchok {
|
|||||||
const done = plugins.smartpromise.defer<void>();
|
const done = plugins.smartpromise.defer<void>();
|
||||||
this.status = 'starting';
|
this.status = 'starting';
|
||||||
this.watcher = new plugins.watcher(
|
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.watcher.on('ready', () => {
|
||||||
this.status = 'watching';
|
this.status = 'watching';
|
||||||
|
Loading…
Reference in New Issue
Block a user