Feedback on --workspace #4349
Replies: 6 comments 14 replies
-
|
One thing that's unclear to me: Does it solve ordering issues? I've tried it only a limited number of times, so it's not super clear to me yet. |
Beta Was this translation helpful? Give feedback.
-
|
I'll keep looking into it, but at a glance it seems significantly slower than running build_runner on all the related folders. Probably because of multithreading? |
Beta Was this translation helpful? Give feedback.
-
|
I have this error when i launch Running build hooks...Running build hooks...build_runner
W The --workspace flag is experimental and subject to change based on feedback. Consider adding
your own feedback at: https://github.com/dart-lang/build/discussions/4349
Unhandled exception:
InvalidOutputException: app|router.g.dart
Tried to delete from package not in the build. Packages in the build are: list of packages
#0 BuildPackages.pathFor (package:build_runner/src/build_plan/build_packages.dart:228:11)
#1 ReaderWriter._pathFor (package:build_runner/src/io/reader_writer.dart:75:25)
#2 ReaderWriter.delete.<anonymous closure> (package:build_runner/src/io/reader_writer.dart:182:20)
#3 TimedActivities._run (package:build_runner/src/logging/timed_activities.dart:123:22)
#4 TimedActivity.run (package:build_runner/src/logging/timed_activities.dart:57:58)
#5 ReaderWriter.delete (package:build_runner/src/io/reader_writer.dart:180:25)
#6 BuildPlan.deleteFilesAndFolders (package:build_runner/src/build_plan/build_plan.dart:360:35)
<asynchronous suspension>
#7 BuildCommand.build (package:build_runner/src/commands/build_command.dart:58:5)
<asynchronous suspension>
#8 BuildCommand._run (package:build_runner/src/commands/build_command.dart:34:20)
<asynchronous suspension>
#9 BuildRunner._runOrThrow (package:build_runner/src/build_runner.dart:164:12)
<asynchronous suspension>
#10 BuildRunner.run (package:build_runner/src/build_runner.dart:47:14)
<asynchronous suspension>
#11 ChildProcess.run (package:build_runner/src/bootstrap/processes.dart:207:9)
<asynchronous suspension>
#12 main (file:///.dart_tool/build/entrypoint/build.dart:50:19)
<asynchronous suspension> |
Beta Was this translation helpful? Give feedback.
-
|
First of all - I'd like to say thanks, centralizing From initial testing, it seems to work out of the box without any hiccups, and for us at least it performs better than the "one invoke per package" setup we had. |
Beta Was this translation helpful? Give feedback.
-
|
Quick follow-up question : can we expect |
Beta Was this translation helpful? Give feedback.
-
|
FYI some generators are not ready for https://codeberg.org/Tienisto/slang/issues/348 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a place to put feedback on the new
--workspaceflag.I'd like to hear
buildandwatch, how high priority is adding support forserve?Beta Was this translation helpful? Give feedback.
All reactions