mwaylabs / Espresso

The-M-Projects build tools using node.js.
www.the-m-project.org
Other
84 stars 28 forks source link

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

Open jianliao opened 12 years ago

jianliao commented 12 years ago

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.

dominiklaubach commented 12 years ago

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

jianliao commented 12 years ago

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 < reply@reply.github.com

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,