Mikhail Mikhail - 3 years ago 278
Sass (Sass) Question

PhpStorm: SCSS File Watcher - how to disable source maps?

I use SCSS file watcher in PhpStorm 9 and would like to disable source maps generation (.map files). How to configure a watcher for this?

Answer Source

if you've followed jetbrain's tutorial on how to work with sass/scss, you probably installed ruby-sass (there's also node-sass). any way phpstorm lets you define arguments when you setup a new watcher (settings->tools->file-watchers).

add the --sourcemap=none flag and it'll prevent sourcemap generation.

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download