You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the watcher can no longer be used with the newest version of Go 1.20.1
The problem is that up until now the -i flag was deprecated and using it gave a warning, but the watcher was successfully building the binary.
From Go 1.20.1 the watcher no longer works, because using the -i flag returns an error, not a warning:
myservice | flag provided but not defined: -i
myservice | usage: go build [-o output] [build flags] [packages]
myservice | Run 'go help build' for details.
myservice | A build error occurred. Please update your code...
Can you please update the code or would you accept a PR that does that? Thank you!
Does someone know of a alternative similar to the go-watcher which is maintained and supports new Go versions?
The text was updated successfully, but these errors were encountered:
penkovski
changed the title
Building with Go 1.201: go: -i flag is deprecated
Building with Go 1.20.1: go: -i flag is deprecated
Feb 21, 2023
penkovski
changed the title
Building with Go 1.20.1: go: -i flag is deprecated
Building with Go 1.20.1: flag provided but not defined: -i
Feb 21, 2023
It seems that the watcher can no longer be used with the newest version of Go 1.20.1
The problem is that up until now the
-i
flag was deprecated and using it gave a warning, but the watcher was successfully building the binary.From Go 1.20.1 the watcher no longer works, because using the
-i
flag returns an error, not a warning:Can you please update the code or would you accept a PR that does that? Thank you!
Does someone know of a alternative similar to the go-watcher which is maintained and supports new Go versions?
The text was updated successfully, but these errors were encountered: