[Improvement]: Improve bal run
to use existing executable when no changes are detected
#43752
Labels
bal run
to use existing executable when no changes are detected
#43752
Description
Currently, the
bal run
command rebuilds the executable for every execution, even when there are no changes in the source code. This behavior applies to consecutive executions of bothbal build
andbal run
. To avoid rebuilding, users are required to manually provide the executable JAR path, as follows.Describe your problem(s)
This default behavior leads to unnecessary rebuilds, which impacts the execution time and performance, especially for use cases where,
Describe your solution(s)
Update the default behavior of
bal run
to,Benefits
bal run
for scenarios that involve multiple executions with unchanged code.Related area
-> Other Area
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: