feat: Add metrics on homepage

This commit is contained in:
kbe
2025-08-17 23:39:24 +02:00
parent 17e6711299
commit ba3f36a5e8
5 changed files with 200 additions and 3 deletions

26
ecosystem.config.js Normal file
View File

@@ -0,0 +1,26 @@
module.exports = {
apps: [
{
name: "watch-js", // Name of the process
script: "bun", // Run npm command
args: "run build --watch", // Run build, build:css, and watch:files in sequence
watch: false, // Watch for file changes (you can modify this as needed)
autorestart: true, // Automatically restart on crash
max_restarts: 10, // Maximum number of restarts PM2 will attempt
env: {
NODE_ENV: "development", // Set environment variables here (optional)
},
},
{
name: "watch-css", // Name of the process
script: "bun", // Run npm command
args: "run build:css --watch", // Run build, build:css, and watch:files in sequence
watch: false, // Watch for file changes (you can modify this as needed)
autorestart: true, // Automatically restart on crash
max_restarts: 10, // Maximum number of restarts PM2 will attempt
env: {
NODE_ENV: "development", // Set environment variables here (optional)
},
},
],
};