-
Notifications
You must be signed in to change notification settings - Fork 110
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
Do not track files during pre-compilation #731
Conversation
This might be a very bad idea. Tries to fix timholy#728
Yep, this might be necessary eventually, but let's wait for resolution of JuliaLang/julia#48506 first. No point making changes in a specific package when we should settle the language itself first. |
This seems best to me. It would be exceptionally disconcerting to me for a precompile process to detect and react to file system changes with some random probability depending on the performance of the filesystem. It might then attempt to call |
Alright, I'll merge this and release a new version. My prediction, though, is that there are going to be more independent packages failing because of JuliaLang/julia#48506. Merging this will indeed help us discover things that are Revise-independent. |
My remaining question–that is not related to JuliaLang/julia#48506 but inspired by it–is the intended interpretation of this statement in the docs:
at https://github.com/timholy/Revise.jl/blob/master/docs/src/cookbook.md#pkgtemplates Is intended as a behavior that occurs from the arbitrary moment when Revise gets But the later interpretation means there needs to be a created an action that implies a stateful user intent to enable it broadly, and to be a trigger that is not usually serialized (so that it has to be explicitly enabled for each current session). For example, I think this could check whether Finally, one other alternative option is that Revise should instead start to watch every package, outside of the sysimg, regardless of the order in which Revise was loaded. Do those questions and thoughts make sense? |
I think this is best, and probably achievable once we started caching source text in |
Do we not do that caching already? |
Yes. I was unclear: "was probably achievable..." |
Use Revise.jl's "trick" that disables __init__() when precompiling. See: timholy/Revise.jl#731
Use Revise.jl's "trick" that disables __init__() when precompiling. See: timholy/Revise.jl#731
Use Revise.jl's "trick" that disables __init__() when precompiling. See: timholy/Revise.jl#731
Use Revise.jl's "trick" that disables __init__() when precompiling. See: timholy/Revise.jl#731
This might be a very bad idea. Tries to fix #728