7

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?

2 Answers 2

13

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

Sign up to request clarification or add additional context in comments.

1 Comment

The argument is now --no-source-map
0

the answer of @nitsan-baleli is correct --no-source-map (default is --source-map) , but the image is not correct!

phpstorm path: File > Settings... > Tools > File Watchers

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.