zephinzer / godev

Golang development tool that supports project bootstrap, live-reload (tests + application), and auto dependency retrieval based on Go Modules
https://getgo.dev
MIT License
199 stars 31 forks source link

Inotifywait can't listen to file changes on the host... #11

Closed dchaofei closed 5 years ago

dchaofei commented 5 years ago

Inotifywait can't listen to file changes on the host,Only can listen changes in the container, Try the host to listen and then notify the container?

zephinzer commented 5 years ago

Yeah, this solution was meant for development in containers which is my primary workflow. Could you describe how to replicate your use case?

dchaofei commented 5 years ago

I also want to develop in the container, but I don't know how to use ide? How do you do it?vim?

duro commented 5 years ago

@zephinzer You sent me here, but I'm still unclear. From your original post you mentioned you also dev in VSCode. Does this mean you are physically editing the files inside the containers?

zephinzer commented 5 years ago

@duro nope, i'm doing it through vscode, if you're on windows maybe #15 would have solved it- it's published with the 0.4.0 tag on docker hub already (@dchaofei could you see if this works for you too?)

dchaofei commented 5 years ago

@dchaofei Thank you, vscode can be used, but GoLand, Vim can't.

zephinzer commented 5 years ago

Closing this due to overall upgrade to use a binary instead of shell commands via a Makefile