What kind of change does this PR introduce?
Adds watchOptions for server compiler.
What is the current behavior?
When we specify devServer.middleware.watchOptions in server.config.js file, this parameter only applies to client compiler.
What is the new behavior?
When we specify devServer.middleware.watchOptions in server.config.js file, this parameter also applies to server compiler.
What kind of change does this PR introduce? Adds watchOptions for server compiler.
What is the current behavior? When we specify
devServer.middleware.watchOptions
in server.config.js file, this parameter only applies to client compiler.What is the new behavior? When we specify
devServer.middleware.watchOptions
in server.config.js file, this parameter also applies to server compiler.Checklist: