-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add API to close dev server #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Fixed |
Hi, |
Like you said, with |
i used but nothing happen.. :( |
Which version of dev-server are you using? Can you share the relevant part of your code? |
version : 1.14.1 var WebpackDevServer = require("webpack-dev-server"); `var compiler = webpack({ server.close(); the server started but not closed. thank you for your help. |
Can you try changing |
Hi, |
@SpaceK33z, have the same issue, "webpack-dev-server": "^2.4.2", the server is alive even after calling stop() method. Do you have any idea why it happens? |
Same here.. |
After I call the close method, the server still seems to be alive although it no longer is using the port. |
I'm trying to close webpack dev server programatically, so I can run it it task with webdriverio.
The webpack API already provides listen method which delegates listen call and inits socket.io. I tried to add close method with similar functionality, but couldn't get it work (the process still hangs).
Any ideas?
The text was updated successfully, but these errors were encountered: