From 6345ed52837bbdec5d52afc3d91b87251cc0e4fa Mon Sep 17 00:00:00 2001 From: tdurieux Date: Fri, 3 Feb 2023 16:22:56 +0100 Subject: [PATCH] chore: update configuration to improve startup time --- .dockerignore | 3 ++- ecosystem.config.js | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 3e12f5f..e159107 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ /repositories -repo/ \ No newline at end of file +repo/ +db_backups \ No newline at end of file diff --git a/ecosystem.config.js b/ecosystem.config.js index 7fde650..f36fd2b 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -5,7 +5,15 @@ module.exports = { script: "./index.ts", exec_mode: "fork", watch: true, - ignore_watch: ["node_modules", "repositories", "repo", "public", ".git", "db_backups"], + ignore_watch: [ + "node_modules", + "repositories", + "repo", + "public", + ".git", + "db_backups", + "dist", + ], interpreter: "node", interpreter_args: "--require ts-node/register", },