cosmo icon indicating copy to clipboard operation
cosmo copied to clipboard

Support hot reloading of MCP operation files

Open biubiubiuboomboomboom opened this issue 6 months ago • 5 comments

Component(s)

router

Is your feature request related to a problem? Please describe.

hello, everyone. currently , hot reloading for MCP operation files is not supported . as a result, i have to restart the Cosmo Router service every time the MCP operation files are updated to ensure the changes take effect .

Describe the solution you'd like

when MCP operation files are updated or added , they can be automatically loaded , and there is no need to restart the Cosmo Router.

Describe alternatives you've considered

No response

Additional context

No response

biubiubiuboomboomboom avatar May 23 '25 09:05 biubiubiuboomboomboom

WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible. The roadmap is driven by our customers and we have to prioritize issues that are important to them. You can influence the priority by becoming a customer. Please contact us here.

github-actions[bot] avatar May 23 '25 09:05 github-actions[bot]

Hi @biubiubiuboomboomboom, thanks for the feedback and I agree it would make the development much easier. I'm gonna put this on the roadmap.

StarpTech avatar May 27 '25 19:05 StarpTech

Hi @StarpTech @alepane21 can I work on this Issue? I have already spent some time on it and think I got the context.

melsonic avatar Jun 07 '25 07:06 melsonic

Hi @StarpTech @alepane21 can I work on this Issue? I have already spent some time on it and think I got the context.

We have an existing package to handle file watching, which might be useful. You could give it a try. No guarantees that we can review and merge, but if the coding style looks ok and it's covered with tests there's a good chance we can review and help merging.

jensneuse avatar Jun 07 '25 07:06 jensneuse

Sure @jensneuse, I will give it a go.

melsonic avatar Jun 07 '25 10:06 melsonic