Okay, I know nothing of Ruby, I am building a PHP website and decided I would like to try SASS as an alternative to CSS. I only installed the RubyInstaller so I could use SASS.
I downloaded Ruby Installer for Windows, and then set sass to watch my project and compile .scss files into .css files, which worked, but as soon as I closed the terminal, it stopped working – so my question is, do I have to keep the Ruby terminal or whatever it is contantly open when updating my scss/css files, and if I do close it (in between sessions for example), do I have to retype sass --watch thisfile:thisfile etc.?
That seems a bit pointless, but I’m sure I’m doing something wrong here, but I’ve googled for the life of me and no-one seems to mention it?
--watchbasically runs a process that watches for file changes, if you close the terminal window from which you ran it, the watching process is also closed. So, briefly, yes: you have to leave the terminal opened if you want the sass file to be compiled automatically.