Overwrite/re-import a module? #326
Replies: 4 comments 1 reply
-
Ok that was a bad minimal example, I am using |
Beta Was this translation helpful? Give feedback.
-
Never mind... not sure where this happened to me but it also works with |
Beta Was this translation helpful? Give feedback.
-
Hi Dereck, I think you might be interested in trying the auto-reload branch (#246). I’ve been using it myself for some time now and (so far!) it seems to work well. However, I’m just noticing that the branch I pushed for the PR is still based on v1.1.0. When I get home later today I will rebase the branch onto the current release, v1.1.3. And as mentioned in the PR description, please keep in mind that the API for this feature is subject to change. However, I am keen on merging it sooner rather than later; but I am still hoping for some feedback from users. |
Beta Was this translation helpful? Give feedback.
-
Yes actually interested, I tried re-running some code using modules and still get the issue using I just can't make a minimal example that reproduces it... not sure if it's me doing something wrong. Will check out #246 - if it's what I imagine it to be that's awesome! |
Beta Was this translation helpful? Give feedback.
-
Hi again @klmr
I find myself being annoyed, I want to use
box::use
for development, but I cannot find how to overwrite a previous import. I write code in interactive mode so I need to be able to write some code, import usingbox::use
then test it and modify the module and test it again.Please help with this?
Beta Was this translation helpful? Give feedback.
All reactions