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

Fixes for docker configuration when running on macOS (darwin) Mojave #16

Merged
merged 2 commits into from
Nov 27, 2018

Conversation

hileef
Copy link
Contributor

@hileef hileef commented Nov 26, 2018

Potentially (aka works on my macOS Mojave machine) fixes #14

python-reload's file watcher behaves erratically when run in a docker environment when the host is macOS (darwin) Mojave, I believe it may be a bug either in the docker engine itself or in the darwin kernel when handling //double/slash/posix-n-win32-compatible/paths, as well as differing configuration.

This patch is based on having run docker inspect on the container as launched form the sphinx-preview plugin and as launched from the command line.

I have not encountered the problems mentioned in #14 with these patches, however given the erratic nature of the error it is very difficult to test in an automated way.

@hileef hileef requested a review from Coac November 26, 2018 21:26
Copy link
Member

@Coac Coac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems correct, could not test it directly as I am running it on Linux, but still working :)
If you can fix the eslint errors, we can merge

lib/sphinx-preview.js Outdated Show resolved Hide resolved
lib/sphinx-preview.js Outdated Show resolved Hide resolved
@hileef
Copy link
Contributor Author

hileef commented Nov 27, 2018

@Coac , could you have a look at the changes I have put in place and tell me if it's okay now ?
Thanks in advance !

@Coac
Copy link
Member

Coac commented Nov 27, 2018

Thanks!

@Coac Coac merged commit 443d7be into master Nov 27, 2018
@Coac Coac deleted the darwin-filewatch-fix branch November 27, 2018 19:39
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

Successfully merging this pull request may close these issues.

Does not work under macOS Mojave
2 participants