siwi-daemon

1.0.4 • Public • Published

siwi-daemon

siwi-node 微服务 子进程

定义子进程路由

    routes: [
        { command: "node", args: ['role.js', '--watch'], options: { cwd: `${process.env.PWD}/routes`, detached: false } },
        { command: "node", args: ['user.js', '--watch'], options: { cwd: `${process.env.PWD}/routes`, detached: false } }
    ]

Readme

Keywords

none

Package Sidebar

Install

npm i siwi-daemon

Weekly Downloads

0

Version

1.0.4

License

ISC

Last publish

Collaborators

  • siwi