From af54e9cceaa14b0b5e47eb1f2fc384d593e33e8a Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Mon, 20 Jan 2020 16:26:14 +1030 Subject: [PATCH] fix: ensure core is loaded before loading server --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 31f5f66f8..af0114b87 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,6 +9,9 @@ import { server } from './server'; // Boot app am(async () => { + // Load core + await core.core.load(); + // Load server await core.loadServer('graphql-api', server); }, error => {