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