-
Notifications
You must be signed in to change notification settings - Fork 46
Auto-Start Development Servers Module #316
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
base: main
Are you sure you want to change the base?
Auto-Start Development Servers Module #316
Conversation
@DevelopmentCats can you please review this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
I am also wondering if it would be worth having the module output something that could be used by a coder_app resource to provide a dynamic live preview based on the detected project type. |
@DevelopmentCats so whats on your mind |
You already have a check for verifying that there is a running app as a result of the module running at the end of I think what you should do is take this and set the project port to a local which you could then use in a coder app resource to set a preview app for this module. You could also set a variable to disable this feature in the module if you would like, but I think this would fit perfectly in this module with this logic. IE..
|
Screencast.from.2025-08-13.22-41-52.mp4 |
This looks great! the only thing you might want to point the coder app icon to an actual existing icon or emoji in coder. |
Co-authored-by: DevCats <chris@dualriver.com>
Co-authored-by: DevCats <chris@dualriver.com>
@DevelopmentCats thankyou very much for your help |
No Problemo. Sorry but can you run |
Okay 👍 |
![]() @DevelopmentCats all lint test arre passing |
@MAVRICK-1 This is shaping up really well! One thing I’d recommend is to prioritize running development scripts like Also, with monorepos or projects that have both frontend and backend apps, right now the preview app is created for the first detected server, which could easily end up being a backend or something other than the main UI. It might be worth considering using smarter detection so that the preview defaults to the most likely frontend service. I think these tweaks could make the experience even smoother for people working with multi-app or monorepo setups! |
on it |
…and prioritization
@DevelopmentCats done |
Auto-Start Development Servers Module
Summary
/claim #204
Implements automatic detection and startup of development servers based on project detection as requested in #204.
Screencast.from.2025-08-10.01-45-41.mp4
Addresses GitHub Issue
Closes #204 - "Auto-start development servers based on project detection"