Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top