build icon indicating copy to clipboard operation
build copied to clipboard

Build does not exit after throwing when the log overflows the console.

Open ykmnkmi opened this issue 6 months ago • 2 comments

I need to press CTRL + C twice.

Dart 3.8.0 (stable) (Wed May 14 09:07:14 2025 -0700) on "windows_x64"
build: ^2.5.2
build_runner: ^2.5.2

ykmnkmi avatar Jun 19 '25 06:06 ykmnkmi

Thanks for filing.

I'm not quite sure what you're referring to

  • do you mean while using dart run build_runner watch?
  • are you doing something like editing a builder that would normally cause it to exit?

if you could share the log output that would be clearer :)

Thanks!

davidmorgan avatar Jun 19 '25 08:06 davidmorgan

dart run build_runner build. I was migrating the Zap package and builder from dart:html to the web package and encountered type cast errors while resolving extension types. I added some prints to log the process. Now all fixed. I'll try to reproduce it.

ykmnkmi avatar Jun 19 '25 11:06 ykmnkmi