webpack-dev-server icon indicating copy to clipboard operation
webpack-dev-server copied to clipboard

How to manually shut down server?

Open binarykitchen opened this issue 11 years ago • 4 comments

In my gulp task I run the webpack dev server before running any jasmine based end-to-end tests.

But there is no function to shut down the webpack dev server once the tests have ended. How can I do that?

(And by the way, how can I disable watching for this scenario? Such an option seems to be missing)

binarykitchen avatar Mar 04 '15 22:03 binarykitchen

server.close()

Chrazy avatar Apr 02 '15 08:04 Chrazy

thanks but sorry, i picked something else ...

binarykitchen avatar Apr 07 '15 00:04 binarykitchen

@binarykitchen could you please share your solution? I need to stop the server (and selenium) from my npm script. So using server.close()will not work for me either.

pixels4nickels avatar May 26 '16 16:05 pixels4nickels

a shutdown port or shutdown via REST would be helpful

cy6erGn0m avatar Nov 15 '16 19:11 cy6erGn0m