Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

buffalo dev code auto rebuild doesn't work with NFS #620

Closed
cayter opened this issue Sep 6, 2017 · 0 comments
Closed

buffalo dev code auto rebuild doesn't work with NFS #620

cayter opened this issue Sep 6, 2017 · 0 comments

Comments

@cayter
Copy link

cayter commented Sep 6, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant