Host OS
macOS Sierra 10.12.6 (16G29)
Environment
Docker container on Dinghy (VirtualBox VM with Ubuntu installed)
Affected Command
buffalo dev
Expected Behaviour
Binary should get auto rebuilt when there is file changed on macOS and get NFS synced into Dinghy's docker container.
Actual Behaviour
Nothing happened.
Suspected Root Cause
buffalo dev uses https://github.com/markbates/refresh/ and it uses https://github.com/fsnotify/fsnotify to listen for file change. However, according to this issue, it doesn't seem that there is a solution yet.
Current Workaround
1. go get -u github.com/codegangsta/gin
2. PORT=3001 gin -p 3000 -a 3001 -i run main.go
Note: -p is the port number of the gin proxy server that your client/browser will hit, -a is the port number of your buffalo web server.
Host OS
macOS Sierra 10.12.6 (16G29)
Environment
Docker container on Dinghy (VirtualBox VM with Ubuntu installed)
Affected Command
buffalo dev
Expected Behaviour
Binary should get auto rebuilt when there is file changed on macOS and get NFS synced into Dinghy's docker container.
Actual Behaviour
Nothing happened.
Suspected Root Cause
buffalo devuses https://github.com/markbates/refresh/ and it uses https://github.com/fsnotify/fsnotify to listen for file change. However, according to this issue, it doesn't seem that there is a solution yet.Current Workaround
Note: -p is the port number of the gin proxy server that your client/browser will hit, -a is the port number of your buffalo web server.