I have a large plugin called sublemacspro and one of the things I just added was an EventListener, one of several in my plugin. This one is used for handling/processing on_query_completions callbacks.
When I startup Sublime that aspect of my plugin doesn’t work. My code just plain old is not called.
However, if I make a trivial edit to the plugin file and save it, sublime reloads it, and it works just fine.
Meanwhile, all the other functionality of my plugin works fine at startup. It’s just this event listener that seems not to be included in the on_query_completions pipeline for some reason.
I have a print statement in the constructor. It’s not called during startup. It is called after I touch the file though.
Any thoughts?