-1

When I am trying to convert my scss file to css using following command -

sass --watch ex1.scss:ex1.css --style

I am getting following error -

OptionParser::MissingArgument: missing argument: --style
  Use --trace for backtrace.

I followed this link - https://stackoverflow.com/a/13649505/4818458

Let me know what I am doing wrong here.

Community
  • 1
  • 1
Nesh
  • 2,389
  • 7
  • 33
  • 54
  • Any reason for downvote or its in your blood to presume that the concept you know is equally known to others ? – Nesh Oct 05 '15 at 11:29
  • 1
    Running `sass --help` would have given you your answer. I've edited the other answer. It may have been allowed to run the command like that in an older version, but it isn't now. – cimmanon Oct 05 '15 at 12:58
  • @cimmanon Thanks for the help :) – Nesh Oct 05 '15 at 13:19

1 Answers1

0

With the help of @cimmanon, I am able to figured out the generation of css from scss files -

Command -

sass --update ex1.scss:ex1.css
Nesh
  • 2,389
  • 7
  • 33
  • 54