watch command in sass

By February 12, 2017 Css, Html, SASS No Comments
Sass Watch Command

What does –watch do?

The –watch command literally tells Sass to watch your project for changes. It’s what converts your Sass files into CSS and auto-compiles your Sass every time it changes.

For example, this command tells Sass to watch and compile to a specific file – it’s basically saying “watch my project and compile from style.scss to style.css”:

This tells Sass “watch the scss directory for changes, then update the style sheet inside the css directory.”

If the –watch command succeeds, you should see a notification like this in the command line output:

 

you can manage your output of compiled file.  Check here how can you change  your file output in sass.

 


[paypal-donation]

About Vijay Dhanvai

A passionate blogger by heart and mind, I have been working in this field for 10 years now. A WordPress Professional, web developer and designer who intends to guide his readers about Web Design, WordPress, Blogging, Web Development, and more.

Leave a Reply