mirror of
https://github.com/mempool/mempool.git
synced 2025-03-03 17:47:01 +01:00
Watch for bisq dump recursively.
This commit is contained in:
parent
425f4152b6
commit
3df36cd3b8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Bisq {
|
||||||
this.loadBisqDumpFile();
|
this.loadBisqDumpFile();
|
||||||
|
|
||||||
let fsWait: NodeJS.Timeout | null = null;
|
let fsWait: NodeJS.Timeout | null = null;
|
||||||
fs.watch(config.BSQ_BLOCKS_DATA_PATH, () => {
|
fs.watch(config.BSQ_BLOCKS_DATA_PATH, { recursive: true }, () => {
|
||||||
if (fsWait) {
|
if (fsWait) {
|
||||||
clearTimeout(fsWait);
|
clearTimeout(fsWait);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue