pnpm server
危險
Deprecated feature
Manage a store server.
命令
pnpm server start
Starts a server that performs all interactions with the store. Other commands will delegate any store-related tasks to this server.
pnpm server stop
Stops the store server.
pnpm server status
Prints information about the running server.
Options
--background
- 預設值:false
- 類型:Boolean
Runs the server in the background, similar to daemonizing on UNIX systems.
--network-concurrency
- 預設值:null
- Type: Number
The maximum number of network requests to process simultaneously.
--protocol
- Default: auto
- Type: auto, tcp, ipc
The communication protocol used by the server. When this is set to auto
, IPC is used on all systems except for Windows, which uses TCP.