mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Air needs time to compile before the server is ready. Add a wait-for-port loop (max 30s) so the dashboard URL is only shown after the API is actually listening. For project mode, use SKILLSHARE_UI_EXEC_PREFIX to cd into the project directory before exec'ing the binary, since skillshare ui -p relies on os.Getwd() and air must build from /workspace.