Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Sass Basics (retired) Getting Started with Sass Installing and Using Sass

Corey Standish
Corey Standish
14,835 Points

Sass to terminal to css

My terminal is stalling after saving test.scss . It says : >>> Sass is watching for changes. Press Ctrl-C to stop.

Change detected to: test.scss write test.css nothing happens in my test.css file

1 Answer

Hi Corey,

When you start the ruby sass --watch process it needs to keep running to watch for changes in your sass folder so it will keep "watching" until you cancel the process by typing Ctrl + C. When this process is running you may think your terminal is stalling but it's just busy, you can't type in other commands until you do one of these:

  1. Ctrl + C - but this cancels sass watching/processing so not ideal unless you don't need to preprocess .scss files
  2. Create a new $ process by creating a new tab (Cmd + T) in Terminal on Mac - the watch process keeps running as long as you don't close tab
  3. If you want to stay in the same shell you can put the sass watch process in the background by typing Cmd + Z which will pause the process until you type "fg" for foregrouind.

It can be a little confusing because everybody calls it "sass" and the folder is usually called "sass" yet it's not a .sass file (older format) but actually a .scss file. I see more people using the folder structure scss/style.scss instead of sass/style.scss to avoid confusion. Remember to make sure you are in the correct directory when you start your sass watch with the correct flags like sass --watch scss:css