Editing sass in server

93 views Asked by At

I want to edit something in my SASS files which are uploaded to the server. How can I make watch SASS to CSS files on command line?

2

There are 2 answers

2
Matts On

You need to install Sass on your server, just like you did on your local machine. Than enter the sass commands on the server console.

2
Aakash Aggarwal On

You can use grunt. Run a grunt watcher on the server. https://github.com/gruntjs/grunt-contrib-sass (Install grunt using npm)

When you run the watcher, the css file will be updated as you save the sass.