Closed FeikoJoosten closed 4 years ago
Which OS were you on? Also, can the options variable be removed and the object passed to the constructor? I generally tend to steer clear from var
in my code.
Which OS were you on? Also, can the options variable be removed and the object passed to the constructor? I generally tend to steer clear from
var
in my code.
I'm running on Windows, I'm not able to test Linux unfortunately.
I've also fixed the coding style for you 😉.
I’ve tested it appears to work in Linux, doesn’t seem to be as efficient as the default watch command though I suppose it should not matter as much 👍
Fixed an issue where the log file required a manual refresh before the new lines were detected. Before I applied this fix I had to go into the folder of the log. Press the F5 button, before the file change was detected. Which in term would trigger the message sending from MC to Discord.
After I applied this fix, I no longer had to refresh the log folder and changes were being detected automatically.