recompile on file changes in dev mode

This commit is contained in:
2026-05-29 11:10:06 +02:00
parent 20668d8e4d
commit 3ccea2f1b3
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ run:
dune build && dune exec ./_build/default/bin/main.exe DREAM_ENV=production
run-dev:
dune build && dune exec ./_build/default/bin/main.exe DREAM_ENV=development
find . -name "*.ml" -o -path "./static/*" | entr -r dune exec ./_build/default/bin/main.exe DREAM_ENV=development
+2 -5
View File
@@ -6,16 +6,13 @@
"version": "0.0.1"
},
"paths": {
"/api/v1/health": {
"/health": {
"get": {
"summary": "Health Check",
"description": "Health check",
"description": "Health check. Assume that the API is non-functional if any error code other than 200 is returned.",
"responses": {
"200": {
"$ref": "#/paths/~1api~1v1~1pdf/post/responses/200"
},
"500": {
"$ref": "#/paths/~1api~1v1~1pdf/post/responses/500"
}
}
}