Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
27 lines
1.0 KiB
JavaScript
Executable File
27 lines
1.0 KiB
JavaScript
Executable File
module.exports = {
|
|
apps: [
|
|
{
|
|
name: "watch-js", // Name of the process
|
|
script: "yarn", // 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: "yarn", // 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)
|
|
},
|
|
},
|
|
],
|
|
};
|