We always run build_runner with --delete-conflicting-outputs so all of code generation is fresh, every time.
Starting Monarch
Preparing stories...
3.1sec elapsed, 0/2 tasks completed
[SEVERE] Conflicting outputs were detected and the build is unable to prompt for permission to remove them. These outputs must be removed manually or the build can be run with `--delete-conflicting-outputs`. The outputs are: lib/[path-to-freezed-class]
Preparing stories (code generation) failed. Exiting.
Re-run with the --verbose flag to get more information
We always run
build_runnerwith--delete-conflicting-outputsso all of code generation is fresh, every time.