Skip to content

Live reload makefile target for dev environment #7185

@shohidulbari

Description

@shohidulbari

Is your feature request related to a problem? Please describe.
When running LocalAI in a development environment, I would like to avoid rebuilding the project manually using make build every time I make changes to the source code. Currently, any modification requires a manual rebuild to apply the updates, which slows down the development workflow.

Describe the solution you'd like
I propose adding a development mode that supports automatic rebuild and reload on file changes, for example by integrating https://github.com/air-verse/air

Describe alternatives you've considered
I have reviewed the existing Makefile targets but could not find one that provides this functionality.

If such a target already exists, please let me know and I will close this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions