Skip to content
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

modified script reload #135

Open
kb1ooo opened this issue Mar 14, 2020 · 2 comments
Open

modified script reload #135

kb1ooo opened this issue Mar 14, 2020 · 2 comments

Comments

@kb1ooo
Copy link

kb1ooo commented Mar 14, 2020

I don't know whether this is a general jupyter problem (this kernel is my first real exposure to jupyter), a problem with this kernel, or a problem with the distributed filesystem that I'm running on, but if I externally edit/update a script and run it from jupyter, jupyter runs the version before the update. I have to rerun the cell (or interrupt and rerun) for jupyter to run the updated version of the script. Is this a problem that others have seen?

@kb1ooo
Copy link
Author

kb1ooo commented Mar 14, 2020

This seems to be a matlab or matlab engine problem. Similar to this behavior. Do others also experience this? I confirmed that if I add clear myscript before executing myscript that it reloads. However, it's not enough to clear just the top level script if you have also edited scripts that it calls. You have to also clear those scripts. Is there some nicer way to force this behavior?

@kb1ooo
Copy link
Author

kb1ooo commented Apr 7, 2020

My best solution for this so far is to put "clear functions" at the top of cells that call scripts. If anyone has a better way, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant