Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
50b0fd357a | |||
42976a32d7 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@push.rocks/smartchok",
|
"name": "@push.rocks/smartchok",
|
||||||
"version": "1.0.31",
|
"version": "1.0.32",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "smart wrapper for chokidar",
|
"description": "smart wrapper for chokidar",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -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';
|
||||||
|
Reference in New Issue
Block a user