question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find an option named "watch" error

See original GitHub issue

I installed sass from npm globally npm install -g sass

Then from official documentation Doc link, I entered --watch command from my terminal. I am in the same directory where are the css and scss files are located. sass --watch main.scss main.css

Ang it gave me an error. Could not find an option named "watch".

Despite I have installed sass via npm globally ‘watch’ command is not recognizable by sass.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
acagastyacommented, Mar 31, 2018

@Alpsenel I got a similar issue for watching sass files. This is what I recommend:

  1. check version of sass using sass --version (optional)
  2. Uninstall sass using gem uninstall sass
  3. Install version 3.4.0 using gem install sass -v 3.4.0 (note; latest stable version is 3.5.6)
1reaction
tassiogoncalvescommented, May 10, 2018

Any prediction of when the watch command will be implemented?

Read more comments on GitHub >

github_iconTop Results From Across the Web

sass --watch : could not find option named "watch"
Installed sass globally ( npm install -g sass ) on my Mac. This works as expected: sass style.scss style.css. Then I try: sass...
Read more >
sass failure - Prime Community Forum
When I run the command I get; Could not find an option named "sourcemap" Then I try; sass --update src/main/webapp/resources/ --no-source- ...
Read more >
Dart Sass Command-Line Interface
This CSS file describes the error in a comment and in the content property of body::before , so that you can see the...
Read more >
sass-loader - webpack - JS.ORG
In this case, the sass-loader will not override the data option but just prepend the entry's content. This is especially useful when some...
Read more >
gulp-sass - node_modules - node-sass
NULL . See functions section for more details on Sass types. ... In case file option was not set (in favour of data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found