Skip to content

Commit

Permalink
actually set ErrorLog to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
aarol committed Dec 27, 2024
1 parent 87bdae9 commit c11e866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reload.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func New(directories ...string) *Reloader {
return &Reloader{
directories: directories,
Endpoint: "/reload_ws",
ErrorLog: log.New(os.Stdout, "Reload: ", log.Lmsgprefix|log.Ltime),
ErrorLog: log.New(os.Stderr, "Reload: ", log.Lmsgprefix|log.Ltime),
Upgrader: websocket.Upgrader{},
DisableCaching: true,

Expand Down

0 comments on commit c11e866

Please sign in to comment.