busify
busify copied to clipboard
refactor: Automates the process of running development environment
Overview
This PR does the following: It introduces the Automation for the setup and running development environment server to streamline the development workflow.
Essential Checklist
- [ ] The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
- [x] "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)
- [x] The PR is made from a branch that's not called "main/master".
@Bhavik-ag There's a minute issue which I would like to discuss, on executing dev-env.sh file since we are running backend server in background (detached from the terminal) it causes the port 3333 remains in use even though the terminal has been killed due to which devs will have to either reopen the editor or manually close the port if they want to rerun the server.
One possible solution would be to create a Cleanup function which will close the port whenever the terminal got closed. Let me know if this required.
@prajjwalkapoor Do you have any idea on the mentioned issue by @Pratik2026?