STEPBible / BibleEngine

General purpose library for powering JavaScript Bible projects
44 stars 9 forks source link

Add keep alive option for local development #188

Closed danbenn closed 3 years ago

danbenn commented 3 years ago

Problem

When using any kind of hot reloading, an "AlreadyHasActiveConnectionError" is thrown by typeorm.

I added a new flag that can support reusing an existing connection, if its a local development environment.