I’m experimenting with my first extension, so please bear with me.
I’m thinking of running an update routine in exports.activate
that will automatically update the binaries whenever the extension is activated. I have got the code to run, but it appears to run in an endless loop while testing. Is this just a side-effect of how the extension live-reloads during testing, or will it always behave this way?
In exports.activate
I am running a process that updates the binary. The update of the binary appears to cause the extension to reload. Am I correct that this is because the extension is in development mode, and reloads automatically whenever there is a file change within the extension, to help with developing the extension? Or is this common behavior, even after the extension has been published?
Thanks!