Dart projects that are supposed to be run in the browser, need to be launched using the webdev CLI tool.
This needs to be supported in the launch configurations.
For this we should somehow detect if the project depends on build_web_compilers. This can either done
by parsing the pubspec.yaml file or
by looking at the output of pub deps -s compact (also relevant for #109)
I'm not sure yet, what would be the better option.
If the detection detects such a project, there should be another Run as entry titled Run as webdev application, which launches the webdev cli in the current project. Also; there are two commands relevant here webdev serve and webdev build. Both should be supported.
The text was updated successfully, but these errors were encountered: