We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a2a0fd commit a7b133bCopy full SHA for a7b133b
src/wsroutes.go
@@ -20,7 +20,7 @@ func IsClosed(ch <-chan Message) bool {
20
func logSubscribe(client *Client, data interface{}) {
21
go func() {
22
logfile := filepath.Join(config.FactorioDir, "factorio-server-console.log")
23
- t, err := tail.TailFile(logfile, tail.Config{Follow: true})
+ t, err := tail.TailFile(logfile, tail.Config{Follow: true, Poll: true})
24
if err != nil {
25
log.Printf("Error subscribing to tail log %s", err)
26
return
0 commit comments