codegangsta / gin

Live reload utility for Go web servers
MIT License
4.23k stars 317 forks source link

flag provided but not defined: -immediate #158

Closed annaelizabeth2019 closed 4 months ago

annaelizabeth2019 commented 4 years ago

Attempted these commands: gin run main.go --immediate gin run main.go -i gin -i run main.go gin --immediate run main.go

Returns: Incorrect Usage: flag provided but not defined: -immediate

In gin --help: --immediate, -i run the server immediately after it's built [$GIN_IMMEDIATE]

PedroS11 commented 4 years ago

I tried in my recent GO project this gin -i run main.go

and everything worked great, try the last version of gin