Runs a local web development server for the current project using the webdev
package.
// tool/dart_dev/config.dart
import 'package:dart_dev/dart_dev.dart';
final config = {
'serve': WebdevServeTool() // configure as necessary
};By default this tool will run dart pub global run webdev serve which will build the
web/ directory using the Dart Dev Compiler and serve it on port 8080.
// tool/dart_dev/config.dart
import 'package:dart_dev/dart_dev.dart';
final config = {
'serve': WebdevServeTool()
..webdevArgs = ['--auto=refresh']
};// tool/dart_dev/config.dart
import 'package:dart_dev/dart_dev.dart';
final config = {
'serve': WebdevServeTool()
..buildArgs = ['--delete-conflicting-outputs']
};$ ddev help serve