mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 04:32:24 +08:00
Fix bin
This commit is contained in:
@ -19,7 +19,7 @@ const middlewareFiles = {
|
||||
}
|
||||
|
||||
function cli (args) {
|
||||
const bin = path.join(__dirname, '../..', pkg.bin)
|
||||
const bin = path.join(__dirname, '../../src/cli/bin')
|
||||
return cp.spawn('node', [bin, '-p', PORT].concat(args), {
|
||||
cwd: __dirname,
|
||||
stdio: ['pipe', process.stdout, process.stderr]
|
||||
|
Reference in New Issue
Block a user