New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open browser with URL #231
Open browser with URL #231
Comments
This would be handy for me. Looks like pretty isolated changes. |
I create a pull request #260 that allows for using both a relative path and still allow for using an absolute path in the same way as before. I think its a none breaking change as paths starting with a '/' didnt do anything anyway and will still allow anybodies pre-existing scripts to run :) plus its handy to be able to use an absolute url at times as well. The only stipulation is the relative path must start with a forward slash '/'. |
Closes http-party#231 Addresses PRs http-party#234, http-party#250, and http-party#260
+1 |
I am unbale to open my index.html page using any of following commannd -o index Am i misisng on something..I npm installed http-server today itself so believe to have the above change. The browser for me still opens at localhost:8080 |
any updates on this issue? |
Any news on this? Really seems like a useful feature to have! |
I don't understand what the Any progress on this issue? I'd love to specify a location and a file, or have the root location be implicit in the file, e.g.: |
any news on this?= |
Nothing opens for me at all with the |
#250 should be the one, I have a giant merge train in the works to get things moving. |
I'm having the same problem. The |
This comment has been minimized.
This comment has been minimized.
This is working for me in version 0.12.3, please re-open if further problems are found |
The -o option is really handy, but unless I'm missing something I can't ask for anything other than the root to be opened? It'd be handy if we could specific a relative path, e.g.
http-server -o /pages/index.html
Opens browser with http://localhost:8080/pages/index.html
The text was updated successfully, but these errors were encountered: