I recently learned Sass and am working on a project. In this project, whenever I change my styles, I open the terminal and type the command sass style.scss style.css to update my CSS file.
Is there a way to automatically update my CSS file without having to type this command every time?
I just want a good solution that work.
Use the watch mode in Sass to automatically update your CSS file whenever you save changes to your .scss
file.
Run this command in your terminal:
sass --watch style.scss:style.css