Home Download Buy Blog Forum Support

Auto-Reload feature stopped working

Auto-Reload feature stopped working

Postby mrfr0g on Tue Jun 19, 2012 4:24 am

I'm developing a plugin for sublime text 2, and today the auto-reload on save feature has stopped working. In the console I see the file has been written to, but I do not receive the message the module was reloaded. Based on some google searches, I have tried the following;

* Deleting .pyc files ... no difference
* Restarting Sublime Text 2 - This will reload the plugin, but will not initiate the auto-reload feature
* Restarting my machine ... no difference

I have also considered that my plugin was broken in some way, so I created a new example file using the stub from the new plugin menu. This also does not auto-load.

Does anyone know how to debug this issue, or possibly manually reloading plugins from the Sublime python command line?

Build info: Beta, Build: 2181, OSX 10.7.4
mrfr0g
 
Posts: 3
Joined: Tue Jun 19, 2012 4:13 am

Re: Auto-Reload feature stopped working

Postby mrfr0g on Tue Jun 19, 2012 6:59 pm

I'm unsure of what actually caused this to fail, but the fix seems to have been to remove the installed packages under `~/Library/Application Support/Sublime Text 2`. I hope this helps someone in the future.
mrfr0g
 
Posts: 3
Joined: Tue Jun 19, 2012 4:13 am

Re: Auto-Reload feature stopped working

Postby stdavis on Mon Aug 26, 2013 3:40 pm

I had this same problem and it turned out to be related to the fact that I was syncing my sublime text files via dropbox as described in this article: http://andrew.hedges.name/blog/2012/01/ ... of-dropbox

As soon as I removed the sym links and used regular folders, my plugin started reloading again.
stdavis
 
Posts: 7
Joined: Tue May 01, 2012 1:09 pm


Return to Plugin Development

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests