Closed bondarewicz closed 8 years ago
@bondarewicz Yes, you're right with update - you need to obtain running server instance after you started it using jsonServer.start(...) and then use that instance's method kill() to kill it. Honestly, it's confusing naming, and I'm preparing new version that will fix it.
having following gulp file
and calling
mock-api-stop
aftermock-api-start
task I getpackage.json contains
"gulp-json-srv": "^0.2.0",
UPDATE I guess it needs to be below ?
and then
mockApi.kill();