Skip to content

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

Description

@cayter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions