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 trialJane Marianne Filipiak
7,444 PointsHow do I type Sass watch command when using the Scout app?
Hello,
I'm listening to the info about Sass, and Hampton types in a command
sass--watch
but I do not know where to type this as I downloaded the Scout app instead of typing directly into the command line (Windows).
Can anyone give me advice? Thanks! Jane
4 Answers
Jane Marianne Filipiak
7,444 PointsThank you again for your help. I will try out what you suggest.
Have a good day. Jane
Robert Richey
Courses Plus Student 16,352 PointsHi Jane,
Open a command line terminal in the root of your project. The easiest way to do this is by holding shift then right click inside the directory. This will show you a context menu with "Open command window here" very useful. Then type sass --watch [input]:[output]
where input is the relative path to your sass/scss directory and output is the relative path to your css directory.
Example
sass --watch scss/:css/
Jane Marianne Filipiak
7,444 PointsHi Robert,
What is the root of my project? I have installed Scout, how can I do the same as the code above but via Scout? Apparently, because I use Windows, I cannot get direct access to my pc's command line.
These above obstacles, can you help me with?
Thank you so much. Jane
Robert Richey
Courses Plus Student 16,352 PointsMy experience with Scout was short - mainly that it wouldn't work for me. I'm also a Windows user (8.1, 64-bit) - I assure you that you do have access to your PC's command line.
The root of your project is simply the folder you open that contains your project. For example, if I have a project on my Desktop in a folder called myapp
then the root of my project is .../Desktop/myapp/
- when you double click it to open the folder, you are in the root of the project.
There are many ways to open the command line terminal in Windows. The easiest, and most useful that I've found, is when in a directory, hold shift and right click. In the context menu, the option "Open command window here" will work. Also, you can click the start button and click run and type cmd
to open the command line terminal.
I'm sorry that I can't offer specific advice using Scout, but I hope this alternative approach will prove useful.