Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

sass

phpstorm

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?

like image 652
quotesBro Avatar asked Oct 25 '15 08:10

quotesBro


1 Answers

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 --no-source-map flag and it'll prevent sourcemap generation.

enter image description here

like image 134
Nitsan Baleli Avatar answered Nov 02 '22 15:11

Nitsan Baleli