You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.
I cannot get this to launch a new browser or a new tab.
How to reproduce this: I downloaded the "example react-router project"(https://github.com/rackt/react-router), and webpack loads everything fine and I can navigate to localhost:8080 and all works well. However, when i install open-browser-webpack-plugin, add the plugin to "webpack.config.babel.js", and then restart webpack nothing happens. There is no new browser launch or new tab opened.
Here is what I added to "webpack.config.babel.js": new OpenBrowserPlugin({ url: 'http://localhost:8080' })
So, the section looks like this:
plugins: [
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.DefinePlugin({'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)}),
new OpenBrowserPlugin({ url: 'http://localhost:8080' })
]
The text was updated successfully, but these errors were encountered:
No error in the console. Just double checked. The open open tab is the google homepage. Here is the contents of webpack.config.babel.js in case it helps:
I cannot get this to launch a new browser or a new tab.
How to reproduce this: I downloaded the "example react-router project"(https://github.com/rackt/react-router), and webpack loads everything fine and I can navigate to localhost:8080 and all works well. However, when i install open-browser-webpack-plugin, add the plugin to "webpack.config.babel.js", and then restart webpack nothing happens. There is no new browser launch or new tab opened.
Here is what I added to "webpack.config.babel.js": new OpenBrowserPlugin({ url: 'http://localhost:8080' })
So, the section looks like this:
The text was updated successfully, but these errors were encountered: