Skip to content

Commit

Permalink
option to rebuild engine
Browse files Browse the repository at this point in the history
  • Loading branch information
KilledByAPixel committed Jan 6, 2024
1 parent 2b1a219 commit 173942d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/starter/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const startTime = Date.now();
const fs = require('node:fs');
const child_process = require('node:child_process');

// rebuild engine
//child_process.execSync(`npm run build`, { stdio: 'inherit' });

// remove old files and setup build folder
fs.rmSync(BUILD_FOLDER, { recursive: true, force: true });
fs.rmSync(`${PROGRAM_NAME}.zip`, { force: true });
Expand Down

0 comments on commit 173942d

Please sign in to comment.