Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file watcher does not work on mounted docker volumes #247

Closed
Odalrick opened this issue Dec 23, 2020 · 2 comments
Closed

file watcher does not work on mounted docker volumes #247

Odalrick opened this issue Dec 23, 2020 · 2 comments

Comments

@Odalrick
Copy link

This isn't a bug in elm-live, rather an unfortunate side effect of how docker works.

However I'm hoping there is an option to use polling for file watching that could be implemented quickly just by adding a command line option along the lines of nodemon: https://www.npmjs.com/package/nodemon#application-isnt-restarting

@Odalrick
Copy link
Author

Odalrick commented Jan 2, 2021

I finally had some time to look at this and found two things: it was as easy to fix as I hoped it would be; and my original problem was me writing the wrong paths. Docker works fine with file watching.

Regardless the option to use polling might be useful for someone else and here is a pull request. #249

@wking-io
Copy link
Owner

wking-io commented Mar 6, 2021

I think I will leave this until someone else has this issue. It is intended to only be a development tool locally and want to keep features and flags from bloat unless there are a large number of necessary use cases.

@wking-io wking-io closed this as completed Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants