auchenberg / vscode-browser-preview

A real browser preview inside your editor that you can debug.
MIT License
4.39k stars 154 forks source link

Just a quick question... #133

Closed pbmacsodak closed 4 years ago

pbmacsodak commented 4 years ago

Running Ubuntu Linux 18.04 - when I open up the preview and go to localhost:3000 - do you know what directory it is pointing to? I am trying to figure out how to get to my test files, but can't quite seem to figure out where I am pointing to by default.

I find similar behavior on Mac OS

It works fine in Windows :(

Thanks Pat McClanahan

auchenberg commented 4 years ago

Browser Preview doesn't serve local files or start a local http server for you. You have to do this yourself. Like https://www.npmjs.com/package/http-server or https://www.hackerearth.com/practice/notes/simple-http-server-in-python/