|
|
@@ -2,6 +2,10 @@ import { bootstrapWorker } from '@vendure/core';
|
|
|
|
|
|
import { devConfig } from './dev-config';
|
|
|
|
|
|
+// https://github.com/vendure-ecommerce/vendure/issues/152
|
|
|
+// fix race condition when modifying DB
|
|
|
+devConfig.dbConnectionOptions = { ...devConfig.dbConnectionOptions, synchronize: false };
|
|
|
+
|
|
|
bootstrapWorker(devConfig).catch(err => {
|
|
|
// tslint:disable-next-line
|
|
|
console.log(err);
|