Package code not reloading during an update


#1

I maintain the package Proto REPL I’ve noticed over time different problems that happen during an update like this one https://github.com/jasongilman/proto-repl/issues/85. 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?


#2

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).


#3

there is a way to test package update?


#4

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.


#5

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