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

Callbacks for Revise events (error, success) #766

Open
essenciary opened this issue Oct 10, 2023 · 0 comments
Open

Callbacks for Revise events (error, success) #766

essenciary opened this issue Oct 10, 2023 · 0 comments
Labels
wishlist Feature requests

Comments

@essenciary
Copy link

Currently Revise throws an exception when code can not be revised due to a bug in the application. From that point on, the app does not update anymore (it's not re-compiled) until the issue is fixed. However, if the issue is fixed and Revise is successful, Revise does not log the successful post-error revision.

In my case I'm interested in building development tools for Julia - and a common issue is that people miss Revise errors in the logs and don't realise that their code is no longer being recompiled. I can surface a big error when Revise errors out, by pulling it out from the logs. However, I can't hide the error as Revise does not notify when the problem was fixed.

In general, it would be great to be able to register handlers when revision fails or succeeds - together with the extra information, like the names of the revised/broken files.

@timholy timholy added the wishlist Feature requests label Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wishlist Feature requests
Projects
None yet
Development

No branches or pull requests

2 participants