From 71cda97dab1143f30f5e23b8bdc20ee9cb996933 Mon Sep 17 00:00:00 2001 From: Jan K9f Date: Thu, 27 Mar 2025 10:47:46 +0100 Subject: [PATCH] docs: add optional watchexec command to README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f2b3a4..70134ff 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,11 @@ cd backend ./gradlew bootRun ``` +You may optionally install [watchexec](https://github.com/watchexec/watchexec?tab=readme-ov-file) and use this command to autorecompile the backend on file changes: +```bash +watchexec -r -e java ./gradlew :bootRun +``` + The backend will be available at: - API endpoint: http://localhost:8080 - Swagger documentation: http://localhost:8080/swagger @@ -164,4 +169,4 @@ References: ## License -This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. \ No newline at end of file +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. -- 2.47.2