Compile Sass w/ --watch command

PHOTO EMBED

Tue Mar 14 2023 21:10:30 GMT+0000 (Coordinated Universal Time)

Saved by @zaccamp

sass --watch input.scss output.css
content_copyCOPY

you can compile your Sass to CSS using the sass command. You'll need to tell Sass which file to build from, and where to output CSS to. For example, running sass input.scss output.css from your terminal would take a single Sass file, input.scss, and compile that file to output.css. You can also watch individual files or directories with the --watch flag. The watch flag tells Sass to watch your source files for changes, and re-compile CSS each time you save your Sass. If you wanted to watch (instead of manually build) your input.scss file, you'd just add the watch flag to your command, like so: