[webdev] Enforce `build_daemon` `^4.1.4` in `pubspec.lock` check and handle `MissingPortFile` Addresses https://github.com/dart-lang/webdev/issues/913: - Update `buildDaemonConstraint` in `webdev/lib/src/pubspec.dart` from `'^4.0.0'` to `'^4.1.4'` to match `webdev/pubspec.yaml`, so `checkPubspecLock` catches `build_daemon < 4.1.4` up front before launching `build_runner daemon`. - Extract a shared `startBuildDaemon` helper (`DaemonException`) in `daemon_client.dart` that catches `MissingPortFile` alongside `OptionsSkew` and `VersionSkew`, logging a clean `SEVERE` diagnostic and exiting with code `1` in `build`, `serve`, and `daemon` commands (without corrupting `webdev daemon`'s JSON stdout stream or printing an unhandled stack trace; note that `StateError` when the child exits before `READY TO CONNECT` is left unchanged).
| Package | Description | Version |
|---|---|---|
| frontend_server_client | Client code to start and interact with the frontend_server compiler from the Dart SDK. | |
| webdev | A CLI for Dart web development. Provides an easy and consistent set of features for users and tools to build and deploy web applications with Dart. |
package:dwds lives in the Dart SDK at pkg/dwds. dwds_webdev_integration_test runs its integration tests against apps built with build_runner.
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.