-
Notifications
You must be signed in to change notification settings - Fork 111
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
Revise not tracking subdirectories inside WSL2 when updating LOAD_PATH variable #615
Comments
Can't reproduce. Perhaps you were loading |
@fredrikekre: It seems to be because the folder and files were inside a mounted partition inside WSL2! So actually I am using WSL2 with Ubuntu 18.04, and the tests I performed were with files inside the mounted Windows partition. So any test with files inside "/mnt/c/" fails. With files inside the Linux filesystem, the behavior of Revise is the expected one. Perhaps, this is not an issue of Revise at all. |
Ok, probably #514 then? |
Yes, that seems to be the problem. Only for the record, if the module is in the working directory and not a subdirectory, the behaviour is the correct one. |
I'll close this as a near-duplicate of #514, but I linked back here for the info re subdirectories. Thanks to both! |
Create a subdirectory
src
or any other name in your working directory. The working directory has to be inside a mounted windows partitionCreate a file
MyModule.jl
in subdirectory with content:julia
from working directory and execute following code:MyModule.jl
todisplay(cos(x))
. Output ofanotherfunc(0)
in REPL doesn't changeThe text was updated successfully, but these errors were encountered: