rynop / dynamodb-local

A wrapper for AWS DynamoDB Local, intended for use in testcases
MIT License
52 stars 30 forks source link

Allow command to run this on the background #18

Open mathieudevos opened 6 years ago

mathieudevos commented 6 years ago

Issue was mentioned earlier in https://github.com/doapp-ryanp/dynamodb-local/pull/15

However would it be possible to add a --detached mode which would run the server in the child, and exit the process, thus freeing up the "terminal".

This would allow many CI/CD pipelines to run this at the start of the the tests such as: await dynamoDbLocal.launch(8000, null, ['-detached']); ... run all the tests await dynamoDbLocal.stop(8000);