I’m trying develop a custom theme/plugin which will add a few additional templates and some general styling to discourse.
In pursuit of this, it would be great to get some kind of livereload/auto-injected CSS action going on, as reloading the page and wating 2s to notice I have made a typo is slowly adding up to quite a significant chunk of time.
It seems like the recommendation is to use autopec, but I’m a little confused as to how this is supposed to work.
I have discourse setup and running locally using vagrant. I’ve ssh’d into the box and can run the server, see the admin page etc.
Should I run autospec and then start the server? or vice-versa? Will this effectively work to live reload the CSS so that I don’t have to refresh the app? Or am I just completely off-base here?
Any suggestions would be appreciated.