Espresso icon indicating copy to clipboard operation
Espresso copied to clipboard

Open the a browser window with the URL when run 'espresso server'

Open jianliao opened this issue 13 years ago • 2 comments

Currently, when I run 'espresso server', it will show the following output:

$espresso server The "sys" module is now called "util". It should have a similar interface. LOG: Server running at http://127.0.0.1:8000/KitchenSink

Then I have to go to browser and type in the URL myself to see the website.

I am not sure if node could support it, but it will be very convenient to user if a browser could open for that url.

jianliao avatar Feb 09 '12 15:02 jianliao

Well, if you are working on a mac, you can simply hold cmd and double click on the url printed in the terminal. This will open the url in the default browser.

But we will discuss the "auto-open"-feature anyway. THX for your feedback.

Best regards Dominik

dominiklaubach avatar Feb 09 '12 16:02 dominiklaubach

Dominik, Thanks for the tip, this is exactly how I use it now. Just try to see if we can make it even better from a product point of view.

Thanks, Jian

On Fri, Feb 10, 2012 at 12:29 AM, Dominik < [email protected]

wrote:

Well, if you are working on a mac, you can simply hold cmd and double click on the url printed in the terminal. This will open the url in the default browser.

But we will discuss the "auto-open"-feature anyway. THX for your feedback.

Best regards Dominik


Reply to this email directly or view it on GitHub: https://github.com/mwaylabs/Espresso/issues/61#issuecomment-3890427

thanks,

  • Jian Liao

jianliao avatar Feb 10 '12 01:02 jianliao