Closed jo closed 9 years ago
As I just discovered, an object with a kill
method is handed over to the callback.
So we might just want to document this.
one thought: wouldn't a reset method without killing the server be better?
I like the idea! But we need a stop
method anyway.
agree, let's do it
Its all there: https://github.com/hoodiehq/spawn-pouchdb-server/pull/16
released as spawn-pouchdb-server@3.2.0
It would be nice to be able to cleanly shut down the server, eg by exposing a
server.stop
method, similar to hapi: