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

Jason Narciso
Jason Narciso
4,763 Points

Sass Source Maps - Showing Wrong Paths

I'm writing and compiling my Sass project strictly with Sass (meaning - not using Gulp, Grunt, etc).

For some reason when I inspect elements in Chrome, it is showing the wrong paths to the Sass file the style declarations should be in.

For example, I have about 8 different partials specified, depending on what section of the site is being edited. Some are header/footer specific, some are for pages, one in particular is for the blog section.

If I inspect elements which would be in the generic page partial, Chrome Dev Tools are showing the path as being _blog which is not correct. It's driving me crazy, I can't figure it out.

I've been trying to upload my .map file over and over again and even deleted it off the server and reuploaded. I'm using Sass 3.4.18.

Any help/ideas would be greatly appreciated!

@guil

1 Answer

Jason Narciso
Jason Narciso
4,763 Points

DOH! Looks like it was a cache issue.

Guess I need to step away from my machine for a bit.