You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These 2 commands launch the Polykey Agent. The difference is that
`npm run dev` uses `nodemon`. This monitors the `src`, `package.json`,
`package-lock.json` and `tsconfig.json` and will auto-reload the Polykey
agent by sending `SIGTERM` to it. Note that auto-reloading is best used
with defined environment variables in the `.env`, in particular
`PK_PASSWORD` and `PK_NODE_PATH`. During development, you can define
other env variables which will ensure a repeatable agent server that
uses the same host and port.
The `nodemon` is controlled by `nodemon.json`. It automatically uses
`ts-node` to run the TS code. It is possible to force a restart by
running `rs` too.
0 commit comments