5d28a3f7

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Improve Air dev-server watches (#71)

Backport the Air watch exclusions from Little Moments so the dev server does not watch generated output, runtime data, test artifacts, reference trees, or dev scripts. This reduces noisy rebuilds and avoids traversing directories unrelated to the running Grosiree app.

Switch Air from the deprecated build.bin field to build.entrypoint while keeping full_bin so the development server still runs with GROSIREE_SHARED_SECRET=password.

Testing:
- nix develop --command ./dev-scripts/serve
- dev-scripts/git-hooks/pre-commit
- nix flake check

Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/71

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 4s 4s 5s
Eval 6s 32s 32s 38s
Build 1m41s 1m10s 1m20s 3m02s
Test - - - -
Deploy - - - -
Suite 0s 1m47s 3m01s 3m02s

Timeline

0s10s20s30s1m50s2m2m30s2m40s2m50s3m