codegangsta / gin

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

What is the point of the generated binary? #138

Open ecbrodie opened 6 years ago

ecbrodie commented 6 years ago

Excuse me if this is too noob of a question or it is misplaced (ie, binary generation is just a normal thing in GoLang).

I would like to know about what the point is of the generated binary gin-bin. Why does a binary need to be generated? After I install gin, I just run the tool with gin run main.go without any issue. ./gin-bin run main.go doesn't work.

Thank you.

ecbrodie commented 6 years ago

@codegangsta shameless poke, since it has been 3 weeks :S

alshdavid commented 6 years ago

I think it's a built version of your app

You can try have it build to a temporary directory - out of sight out of mind

gin -b $TEMP/gin-projectname
Xarvalus commented 5 years ago

Why gin is not creating it as temporary file by default instead? It seems this file is not necessary in root of the project.