mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 08:34:14 +01:00
Update rebuild-app.js set GC
This commit is contained in:
parent
b229387b78
commit
a5b1c47785
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue