Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
NPM bugs should open browser window in the background, not block until browser window closes #1776
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
bugs and docs both implement an "open" function that exec's npm.config.get("browser"), while help exec's cmd, passing the url to the help html as an argument.
Personally I like bugs and docs implementation better. The version implemented in help.js will open up the file in whatever program Windows has associated with the .html extension, which I imagine in many dev's case is an editor, not a browser. The main downside is it requires the user to set up their npm browser config setting manually.