Could not find an option named "watch" error
See original GitHub issueI 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:
- Created 5 years ago
- Reactions:12
- Comments:15 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Alpsenel I got a similar issue for watching sass files. This is what I recommend:
sass --version
(optional)gem uninstall sass
gem install sass -v 3.4.0
(note; latest stable version is 3.5.6)Any prediction of when the watch command will be implemented?