-
Notifications
You must be signed in to change notification settings - Fork 608
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
Autoreload doesn’t work with unicode paths #228
Comments
I dug in a little bit on this. The error originates here. It ultimately seems that I did, however, notice a deprecated call which is fixed in #229. |
Thanks for taking a look at this, @iamvery! I examined a bit too and I at least found out that the Watcher’s handle_info method already receive an already invalid path. Printing it out, the Unicode characters are already botched. I wanted to dig deeper and see the actual result of file_system’s parse_line method for a Mac worker, but I wasn’t able to get my changes actually executed. My impression is that the culprit lies somewhere there, not translating the platform-specific watcher result correctly. But maybe it’s even deeper. |
Fun times 😅 |
If the elixir-koans folder is located in a path with non-ASCII characters, the autoreloading doesn’t work. An error like this is raised every time a change is detected:
The path should be
~/_dev/ň/
and not~/_dev/�/
.Happens on macOS Mojave 10.14 (18A391) with zsh.
The text was updated successfully, but these errors were encountered: