Changing default browser for npm live-server

  css, html, javascript, npm, npm-live-server

I am using npm live-server package to load my website on changes.
However my page is getting opened in Edge even though my system default is Chrome.
I tried this command which I saw in npm website.

live-server --browser=chrome

But it did not work.
How do I make it to host on chrome.

Source: Ask Javascript Questions