Question

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.

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top