We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49b6aea commit 24334d9Copy full SHA for 24334d9
packages/serve/src/index.ts
@@ -118,14 +118,7 @@ class ServeCommand {
118
119
const servers: typeof DevServer[] = [];
120
121
- if (cli.needWatchStdin(compiler) || devServerCLIOptions.stdin) {
122
- // TODO remove in the next major release
123
- // Compatibility with old `stdin` option for `webpack-dev-server`
124
- // Should be removed for the next major release on both sides
125
- if (devServerCLIOptions.stdin) {
126
- delete devServerCLIOptions.stdin;
127
- }
128
-
+ if (cli.needWatchStdin(compiler)) {
129
process.stdin.on("end", () => {
130
Promise.all(
131
servers.map((server) => {
0 commit comments