only run script when generate_script is true (#3491)

This commit is contained in:
Shuchang Zheng
2025-09-21 02:45:23 -04:00
committed by GitHub
parent 770be508e3
commit 9a9ee01253
9 changed files with 186 additions and 142 deletions

View File

@@ -15,10 +15,18 @@ if __name__ == "__main__":
load_dotenv()
reload = settings.ENV == "local"
# Configure reload settings
uvicorn.run(
"skyvern.forge.api_app:app",
host="0.0.0.0",
port=port,
log_level="info",
reload=reload,
reload_excludes=[
f"{settings.TEMP_PATH}/*.py",
f"{settings.TEMP_PATH}/**/*.py",
f"{settings.TEMP_PATH}/*",
f"{settings.TEMP_PATH}/**",
],
)