Skip to content

Instantly share code, notes, and snippets.

@tylergaw
Created September 24, 2014 02:48
Show Gist options
  • Select an option

  • Save tylergaw/5bb03e347371e733ac2e to your computer and use it in GitHub Desktop.

Select an option

Save tylergaw/5bb03e347371e733ac2e to your computer and use it in GitHub Desktop.
I can't sourcemap

I'm trying to enable source maps for Sass on my site http://tylergaw.com.

If you go there and look at:

developer tools > sources > tylergaw.com > css > scss

you'll see modules and partials. Both of those directories have all the file names for the source files. If you click on any of them nothing will load. And if you hop over to the console you'll see that they a 404. That's because they do not exist on the server. That's my issue.

I'm using Jekyll to generate my site. When jekyll builds it copies the scss dir from src to public (my jekyll destination dir), but strips out all subdirectories. In this case modules and partials. For some reason it leaves the .scss file in there.

Here's a screenshot of the public directory showing what's up.

Anybody have any idea what Jekyll is doing here and how to make it stop?

You can view the full source of my site here: https://github.com/tylergaw/tylergaw.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment