Open
Description
- Operating System: OSX
- Node Version: 8.11.0
- NPM Version: 6.0.0
- webpack Version: 4.7.0
- webpack-dev-server Version: 3.1.4
- This is a bug
- This is a modification request
Code
// webpack.config.js
// additional code, remove if not needed.
Expected Behavior
Try to refresh the current browser window
Actual Behavior
Open always a new tab
For Bugs; How can we reproduce the behavior?
For Features; What is the motivation and/or use-case for the feature?
Inspired on create-react-app
solution.
Since I usually use Google Chrome, I expect to stay in the same (current) browser tab
when re-launch webpack-dev-server
, instead of use a new one and close those more.
Just curious if the Webpack people/ecosystem are interested in having this behaviour (will PR in case), since is very specific to Chrome browser in OSX platform.
Furthermore, the solution requires to have an extra file .applescript
in the package.
Thoughts?
related #1185