-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.

3
  • Any reason for downvote or its in your blood to presume that the concept you know is equally known to others ?
    – Nesh
    Oct 5, 2015 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 5, 2015 at 12:58
  • @cimmanon Thanks for the help :)
    – Nesh
    Oct 5, 2015 at 13:19

1 Answer 1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.