-
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 stops working when using modules that are not listed as dependencies #371
Comments
When you say "stops working" do you mean not for other packages loaded in the same session? Or just for MyPackage? |
It seems to stop tracking any changes in the MyPackage module, for example changing the output of |
Actually I ran a quick test using The behavior should be easy to reproduce by running
and the following Project file
Running the following in the REPL does not track changes for me: |
Thanks for reporting this, simply knowing where my revision issues come from has made my life easier! |
I don't think this is exactly the same symptom, but if on
then Revise appears not to track that file. (doesn't show up in |
Revise stops working if modules use a package that is not explicitly listed as a dependency in
Project.toml
.Example (julia v1.1, started with
julia --project
fromMyPackage
folder):If
Colors
(or any other package) is not in the dependencies ofMyPackage
, then Revise stops working (silently, without raising an error or warning). Removing the lineusing Colors
or adding it to the dependencies fixes the issue.If it's not worth fixing, at least putting this information somewhere in the Docs would be very helpful.
The text was updated successfully, but these errors were encountered: