Background: I'm trying to make a set of scripts to allow myself edit stylish themes in external editor (vi in my case). In order to do that I store styles.css as external file, edit it and upload with a simple script to stylish.sqlite database. It works perfect except my changes are not applied immediately (like it is in case I save changes for the same theme in builtin firefox stylish editor). Which annoys me a bit.
The issue: It looks like the possible solution would be turn off all styles and then turn it on back.
It can be done via switching
extensions.stylish.styleRegistrationEnabled option in about:config (or simply a button from addons panel).
Though button clicking is annoying. I love full automation. Therefore I'm trying to find the way to reload it from outside (it seems like a possible solution to me). Is it possible? How it can be done?
ps. I use FF44.