Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Update rebuild-app.js set GC

Webysther Sperandioa5b1c47785ca
diff --git a/services/rebuild-app.js b/services/rebuild-app.js
index b3ce046c..2b748c2d 100644
--- a/services/rebuild-app.js
+++ b/services/rebuild-app.js
@@ -5,7 +5,7 @@
const { exec } = require('child_process');
module.exports = () => new Promise((resolve, reject) => {
- const buildProcess = exec('npm run build'); // Trigger the build command
+ const buildProcess = exec('NODE_OPTIONS="--max-old-space-size=512" npm run build'); // Trigger the build command
let output = ''; // Will store console output