diff options
author | destruc7i0n <6181960+destruc7i0n@users.noreply.github.com> | 2020-08-03 13:47:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 13:47:38 -0400 |
commit | 6bbc4ed85355c7bbaf600c7af9aacde9c78f086a (patch) | |
tree | f6497acde299aaf35e81b64f7c021b1a3f00a9f5 /src | |
parent | Merge pull request #54 from TheZackCodec/tellraw_regex_improvement (diff) | |
parent | Fixed coding style (diff) | |
download | shulker-6bbc4ed85355c7bbaf600c7af9aacde9c78f086a.tar.gz shulker-6bbc4ed85355c7bbaf600c7af9aacde9c78f086a.zip |
Merge pull request #57 from FeikoJoosten/patch-1
Changed tail to make use of watch file.
Diffstat (limited to 'src')
-rw-r--r-- | src/MinecraftHandler.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MinecraftHandler.ts b/src/MinecraftHandler.ts index 96b525a..7a81718 100644 --- a/src/MinecraftHandler.ts +++ b/src/MinecraftHandler.ts @@ -180,7 +180,7 @@ class MinecraftHandler { private initTail (callback: Callback) { if (fs.existsSync(this.config.LOCAL_FILE_PATH)) { console.log(`[INFO] Using configuration for local log file at "${this.config.LOCAL_FILE_PATH}"`) - this.tail = new Tail(this.config.LOCAL_FILE_PATH) + this.tail = new Tail(this.config.LOCAL_FILE_PATH, {useWatchFile: true}) } else { throw new Error(`[ERROR] Local log file not found at "${this.config.LOCAL_FILE_PATH}"`) } |