codegangsta / gin

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

add ability to make the binary to be built outside the working directory #151

Open superbaddude opened 5 years ago

superbaddude commented 5 years ago

This code allows the ability to build the gin binary outside of the working directory. In some circumstances, this is very useful. For example, when running docker on a windows instance, and the code for the container lives on a windows drive. The windows OS will not allow the binary to be re-built as long as it is still running. Therefore, building on a linux native folder inside the container is preferable.