문제

Is there an easier way to compile my sass files with sourcemap enabled rather than the following command?

sass --compass --sourcemap --style compact --watch sass:css

If I was using compass, I would use 'compass watch' and it reads configurations from the config.rb file.

도움이 되었습니까?

해결책

No, unfortunately.

In a future release Sass will emit the sourcemap as a default. https://github.com/nex3/sass/issues/1189

Until then, either a grunt configuration or an alias in your bash profile is your best bet.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top