-
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
Revise should "follow" files that go from add->dev #146
Comments
Ran into this today; so +1 from me! |
Yeah, it's pretty annoying. Thanks to some pointers from @KristofferC and @fredrikekre I think I know how to fix it: monitor the main environment I consider this issue to be two-thirds bug and one-third feature request. For me, the main priority now is 100% about bugs, particularly exploiting the shiny new logging system to relentlessly exterminate every last problem in Revise's diff-detection-and-eval-changes core (within the scope of Revise's and Julia's capabilities). The logger was just finished this morning (#166) and the payoff is pretty good already: #167, #169. So keep those bug reports flowing. |
I'm interested in a somewhat similar use case. I have a package with multiple branches, and each branch is checked out in a separate directory. I want to be able to switch between these branches in a running Julia session, by activating the corresponding directory. Is this at all reasonable for Revise, and if it is, how much would it overlap with the changes needed to solve this issue? (To complicate matters this is to be run in an embedded setting but on the other hand it would be perfectly fine to have to call some function explicitly to inform about the switch.) |
Glad you mentioned this now. Seems like it should be possible to have a "remap to a different directory" function and add the rest as layers on top of it, but let's see what happens when I get to this. I don't plan on tackling this until JuliaLang/Pkg.jl#785 gets merged. |
Could you elaborate on how the mode of the files of an added package influence Revise here? I am probably missing something obvious. |
If Revise can be assured that there will be no changes to an Reducing the resources is pretty tightly integrated with me just sitting down and figuring out the whole logic of detecting the |
@GunnarFarneback, you should be able to say |
Switching to
dev
in a session doesn't work---it still tracks the packages addedadd
.The text was updated successfully, but these errors were encountered: