Sass Source Maps in Chrome

Over the last few years there has been some major advancements in the tooling we use on a day-to-day basis but one feature that really took things to the next level was the introduction to CSS source maps.

CSS source maps allow the browser to map CSS generated by a pre-processor back to the original source file.

Setting up source maps only takes a couple of minutes in Chrome and gives your editing workflow less friction to enable you to develop quicker.

Running time: 4:06

Download demo files

Commands used in video:

sass -v

sudo gem update sass

sass --watch --sourcemap sass/styles.scss: css/styles.css

python -m SimpleHTTPServer

2 thoughts on “Sass Source Maps in Chrome”

  1. Great short watch Jake.

    One of those things I’ve been meaning to setup but haven’t got round to!

    Awesome that it works with variables too!

Comments are closed.