coderail-watch
v0.1.8
Published
Stream terminal output to CodeRail backend over WebSocket.
Downloads
912
Readme
coderail-watch
Stream terminal output to CodeRail backend over WebSocket.
Usage:
npx coderail-watch --session-id <session_id> --project-key <project_public_id> --base-url http://localhost:8000Switch base URL by env:
npx coderail-watch --session-id <session_id> --project-key <project_public_id> --env stagingWatch a log file instead of stdin:
npx coderail-watch --session-id <session_id> --project-key <project_public_id> --base-url http://localhost:8000 --log-path /path/to/logfilePublish (npm):
cd tools/coderail-watch
npm login
npm run publish:publicIf you are fixing a published bug, bump the version before publishing:
cd tools/coderail-watch
npm version patch
npm run publish:publicIf publish fails with "Access token expired or revoked":
cd tools/coderail-watch
npm logout
npm login
npm run publish:publicIf you use an npm access token (CI or 2FA), set it explicitly:
cd tools/coderail-watch
npm config set //registry.npmjs.org/:_authToken <YOUR_NPM_TOKEN>
npm run publish:public2FA note:
- npm no longer allows adding new TOTP 2FA from the CLI. Enable 2FA with a security key at https://npmjs.com/settings//tfa before publishing.
