Skip to content

[dart_tooling_mcp_server] Add a hot reload tool #42

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 8 commits into from
Apr 10, 2025
Merged

Conversation

kenzieschmoll
Copy link
Contributor

@kenzieschmoll kenzieschmoll commented Apr 8, 2025

Adds a server tool to perform a hot reload against a Flutter app.

Copy link

github-actions bot commented Apr 8, 2025

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

@kenzieschmoll kenzieschmoll marked this pull request as ready for review April 10, 2025 16:13
description: 'Takes a screenshot of the active flutter application in its '
'current state. Requires "${connectTool.name}" to be successfully '
'called first.',
inputSchema: ObjectSchema(),
);

@visibleForTesting
static final hotReloadTool = Tool(
name: 'hotReload',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having spaces like "Hot Reload" showed up in the chat window as "Hot_Reload" (at least in cursor), so I changed these to use camel case for now as that looks better in the chat window

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh interesting ok

jakemac53

This comment was marked as outdated.

@kenzieschmoll kenzieschmoll merged commit 6067768 into main Apr 10, 2025
13 checks passed
@kenzieschmoll kenzieschmoll deleted the hotReload branch April 10, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants