Refresh agent assets on dev startup and remove debug files (Refs #78)

This commit is contained in:
2026-10-08 17:39:32 -04:00
parent c10f602e8e
commit e9be3f7177
5 changed files with 8 additions and 52 deletions
+6 -5
View File
@@ -14,7 +14,6 @@ Use Node.js 22 (the container's version), npm and Python 3.
```sh
npm ci
npm run agent:package
export EC_SETUP_TOKEN="$(openssl rand -hex 32)"
export BETA_ARCHIVE_DIR=./data/beta-archive
EC_AUTH_ALLOW_HTTP=true npm run dev
@@ -83,10 +82,12 @@ npm run test:agent
npm run build
```
Builds regenerate the downloadable agent, standalone updater and checksum
manifest. They also bundle report workers under `build/reports` and launch
preparation under `build/launch`. Development and test commands compile those
workers automatically. Restart `npm run dev` after changing worker code.
`npm run dev` and `npm run build` regenerate the downloadable agent, installer,
standalone updater and checksum manifest. Builds also bundle report workers
under `build/reports` and launch preparation under `build/launch`. Development
and test commands compile those workers automatically. Restart `npm run dev`
after changing agent or worker code, or run `npm run agent:package` to refresh
only the downloadable agent assets while the development server is running.
Automated tests simulate Docker and game hosts. Real Debian installation and
T5/T6 server validation use the [host acceptance checklist](../guides/native-hosts.md#development-and-validation).