-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
#> Please note that this template is not optional. If you proceed with this form,
please fill out all fields, or your issue may be closed as "invalid."
Please do not delete this template. Please ask questions on StackOverflow or the
webpack Gitter (https://gitter.im/webpack/webpack). General questions, how-to
questions, and support requests will be closed.
Please do remove this header to acknowledge this message.
- Operating System: Mac OS
- Node Version: 8.9.1
- NPM Version: 5.5.1
- webpack Version: 3.8.1
- webpack-dev-server Version: 2.9.4
- This is a bug
- This is a feature request
- This is a modification request
Expected Behavior
When using the --open
command, I would like the browser to launch when the build has completed (not when it has started), and only if the build is without errors. For reference, this plugin currently have the behavior I'm after (https://github.com/baldore/open-browser-webpack-plugin), but given that webpack-dev-server
I think it would be nice if this was a built-in feature instead of requiring an extra plugin.
Actual Behavior
The --open
command currently launches the browser immediately, and if the build happens to fail you get stuck with an empty browser tab.
For Features; What is the motivation and/or use-case for the feature?
I think it would create a better dev experience.