Sourcemap to track file and line sass in chrome


#1

I need track partial sass file and line whed debuging my site in jekyll with chrome browser. How can I do it in simple way?
It’s necessarily for fronted developer and I’m surprised it was can’t found in jekyll documentation.
Anybody can help me?


#2

I don’t think Jekyll core outputs sourcemaps when compiling your Sass. You’ll have to use the Jekyll-Assets plugin which I believe supports them.

Or you can something like Gulp (or Grunt) to build your Sass and generate the sourcemaps. That’s what I do with my Jekyll site.


#3

Thanks @mmistakes
I will try this but I’m thinking about CodeKit, somebody use jekyll with this, its possible work well?


#4

Also just for reference there’s an open discussion about adding sourcemaps to Jekyll’s Sass converter.