jeremyrajan / vscode-exts

Visual Studio Code Extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Browsersync doesn't seem to work on windows

Alphapage opened this issue · comments

Hello,

I try the browsersync extensions from current vscode and insider build too on different projects without success: it always throws Cannot get in chrome.
But if I load localhost:3001, then I get browser-sync config page.
I am running browsersync on windows 10 64bits.
It would be great to add browser-sync start only without opening the browser because I want to start from vscode-chrome-debug launcher.

Thank you in advance for your help.

Hi @Alphapage ,

Thanks for pointing out. Yes, I had noticed some hiccups with WIN machines. And also, I can try to add a config, not open the browser on start.

Cheers,
Jeremy

I found that folderPath starts with / : something like /c:\\.... I don't know if it is a vscode bug or the extension bug, but if I remove the / then all is working as expected.
Adding a config to customize the extension 👍

@Alphapage where can I edit the folderPath? Thanks in advance!

@Alphapage @mspanish #12 should resolve the issue. And I have added configuration for opening the browser on start or not.

Please install the latest version and let me know if that fixes it.

Thank you :)

Does not work for me.
Just downloaded & installed the latest version of the extension.
getting the same problem as reported on windows.

The same, vscode x64 win10 version 1.23.0

Hi guys,

Apologies in not publishing a patch. This has been fixed for windows now, please install version 1.1.1.

Thank you :)

still not working for me in windows 10, I receive the Cannot GET / when I try localhost:3000