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!
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
Steve Gallant14,943 Points
Compiler stops and removes styles.css for both @error and @warning
I'm working through the course locally on my workstation. When I use the @error or @warning directives and feed in a bogus argument, the styles.css file actually disappears from the css folder. The compiler spits out an error, but there is nothing in the browser console except stating it cannot find the styles.css.
Update in behavior?
Bryan Land10,306 Points
I noticed this as well when using VSCode where if there are no issues, the css output is generated just fine but once you have an error at all, even without inserting debugging directives like @error or @warn, it will delete the output file completely.
Luckily the debug and error messages still appear in the terminal you are running --watch in. Could be related this this bug.
What editors are you using locally?