Fix deps creation in dev env (#711)

Signed-off-by: Ilya Sumbatyants <ilya.sumb@gmail.com>
This commit is contained in:
Ilya Sumbatyants
2021-12-22 13:46:45 +01:00
committed by GitHub
parent bd370e1d87
commit b0e9076d5a
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -15,6 +15,7 @@
import { createClient, Client } from '@anticrm/core'
import { getMetadata, getResource } from '@anticrm/platform'
import { createDeps } from '@anticrm/model-all'
import { connect } from './connection'
import clientPlugin from '@anticrm/client'
@@ -31,6 +32,7 @@ export default async () => {
GetClient: async (): Promise<Client> => {
if (client === undefined) {
client = await createClient(connect)
await createDeps(client)
}
// Check if we had dev hook for client.
// Check if we had dev hook for client.