0

settings.add_on_change doesn't appear to work correctly

Drarok 13 років тому оновлений 13 років тому 0
When using <Settings instance>.add_on_change(key, func), the callback only appears to get triggered when the "main" settings file (projectname.sublime-settings) within the Package is altered, ignoring my User/projectname.sublime-settings file.

This is despite the fact that Sublime is returning the correct values from <Settings instance>.get(key) once I restart, so it is definitely *reading* the file, just not watching it.

I'm running Mac OS X 10.6.8 at home, yet to test it at work on Mac OS X 10.7.3.