[Bug]: bal run --watch
does not terminate when there is a panic, or when the entire service is removed from the source.
#43309
Labels
Area/CLI-BuildTools
needTriage
The issue has to be inspected and labeled manually
Team/DevTools
Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )
Type/Bug
userCategory/Compilation
Description
bal run --watch
watches service projects and reruns the services based on the changes to the source files. However, it was observed thatthe program doesn't exist. This is not desirable. The panic leaves the service in a hanging state which is not responsive.
This worked fine before adding the debouncing logic. Might need to checkout to a commit before that and see what went wrong.
Steps to Reproduce
bal run --watch
on a service. Then once the service is started, remove the listener code from the source file.bal run --watch
and once the service is up, hit that endpoint.Affected Version(s)
2201.10.0
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: