From 9b0f929cfb19082a620bf0ddb74f76aeaf613904 Mon Sep 17 00:00:00 2001 From: Lucas Rayan Date: Wed, 22 Oct 2025 08:43:31 -0300 Subject: [PATCH] Add PM2 process configuration (start.js) for ESPDocs with watch and production env --- start.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 start.js diff --git a/start.js b/start.js new file mode 100644 index 0000000..281668f --- /dev/null +++ b/start.js @@ -0,0 +1,13 @@ +module.exports = { + apps: [ + { + name: "ESPDocs", + script: "npm run start", + watch: true, + env: { + NODE_ENV: "production", + DEBUG: "app:*" + } + } + ] + } \ No newline at end of file