summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authordestruc7i0n <6181960+destruc7i0n@users.noreply.github.com>2020-08-03 13:47:38 -0400
committerGitHub <noreply@github.com>2020-08-03 13:47:38 -0400
commit6bbc4ed85355c7bbaf600c7af9aacde9c78f086a (patch)
treef6497acde299aaf35e81b64f7c021b1a3f00a9f5
parentMerge pull request #54 from TheZackCodec/tellraw_regex_improvement (diff)
parentFixed coding style (diff)
downloadshulker-6bbc4ed85355c7bbaf600c7af9aacde9c78f086a.tar.gz
shulker-6bbc4ed85355c7bbaf600c7af9aacde9c78f086a.zip
Merge pull request #57 from FeikoJoosten/patch-1
Changed tail to make use of watch file.
-rw-r--r--src/MinecraftHandler.ts2
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}"`)
     }
href='/torus/commit/help.h?id=de21ce0c5d9e4fb872475b2f77f73ac3babbac25&follow=1'>Update git URLsJune McEnroe 2019-08-05Add buymeacoffee linkJune McEnroe 2019-07-27Use braces in MakefileJune McEnroe 2019-07-08Remove NetHack from indexJune McEnroe 2019-04-08Don't install rc.kfcgi eitherJune McEnroe 2019-03-28Remove rc.kfcgiJune McEnroe 2019-01-16Reformat index.html with explore linkJune McEnroe 2019-01-16Return false from keydown handler in exploreJune McEnroe 2019-01-08Draw lines to tile edgeJune McEnroe 2019-01-08Factor out default pathsJune McEnroe 2019-01-08Remove incorrect default coordinatesJune McEnroe 2019-01-07Set img src when explore fragment changesJune McEnroe 2019-01-07Compress PNG data in imageJune McEnroe 2019-01-07madvise MADV_NOCORE in imageJune McEnroe 2019-01-07Add license notice to explore JavaScriptJune McEnroe 2019-01-07Add Q/Home binding in exploreJune McEnroe 2019-01-07Fix explore image URLJune McEnroe 2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe 2019-01-06Add meta viewport to exploreJune McEnroe 2019-01-06Set background and max-width in exploreJune McEnroe 2019-01-06Swallow writes after the connection is closedJune McEnroe 2019-01-06Handle KCGI_HUPJune McEnroe 2019-01-06Install html filesJune McEnroe