0
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.
Have you tried Use external editor to edit style on Stylish extension or Stylish Custom both of which allow stylish to use an external editor.
– DavidPostill – 2016-02-03T21:26:39.170Thank you for the link, though my idea is to store the style completely outside (in git repo) and upload changes from there into stylish with immediate update. without using any complex click combinations inside firefox (like styilish → edit addon →open in whatever editor → save → switch to the correct tab). it's annoying :) – rush – 2016-02-03T21:30:38.847
Ah, OK. That wasn't immediately obvious from my first read of your question. – DavidPostill – 2016-02-03T21:33:23.477