Skip to content

use dart pub run for the server to speed up tests. #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use dart pub run
  • Loading branch information
jakemac53 committed May 12, 2025
commit be7ce78cabe5dc2d90674702708627f9b401460e
2 changes: 1 addition & 1 deletion pkgs/dart_tooling_mcp_server/test/test_harness.dart
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ Future<ServerConnectionPair> _initializeMCPServer(
connection = client.connectServer(clientChannel);
} else {
connection = await client.connectStdioServer('dart', [
'pub', // Using `pub` gives us incremental compilation
'run',
'-r',
'bin/main.dart',
]);
}
Expand Down