Add sublime_plugin.EventListener.on_package_file_change()

Will Bond 9 years ago updated 9 years ago 1
Being able to detect when the color scheme changes would be really useful for two plugins I've been working on. It seems the best way to detect this is to have an event listener that fires when files in the Packages folder are saved.

Ideally the listener would receive the name of the file as a parameter.
As of build 2092 there are two new methods on the Settings object, add_on_change(key, callback) and clear_on_change(key). These accomplish the goals of this request. Thanks Jon!