Class for implementing your custom plug-ins, sublime_plugins compatible
Plug-ins implementing this reference should provide the following attributes:
Event handler which fires when browser plug-ins sends data - (string) data sent by browser - (string) origin of data
Generic refresh command
Decorators:
Add http callback to plugin defined function. For example request to GET /callback/plugin_name/log_me would trigger log_me function in plugin
Example:
@LiveReload.http_callback
def compiled(self, req):
print req # urlparse object
return "cool" #to http client