Package code not reloading during an update


I maintain the package Proto REPL I’ve noticed over time different problems that happen during an update like this one During any update Atom must be restarted in order for my package to work correctly.

I think this must be a sign that I’m doing something incorrect with my package. What should you do to make sure a package is unloaded and reloaded correctly during an update?


I’ll see if someone from the team can take a look at this. We had reports previously of these kinds of things happening but they were fixed (or so I thought).


there is a way to test package update?


There’s not a built-in way to do it, no. You should generally test your package deactivate method to ensure that it cleans everything up though.


I’ve been having the same issue with my file-bookmark plugin.