pull/5370/head
filip mertens 9 months ago
parent 9a0f1f805c
commit 8960583ac0
  1. 4
      apps/remixdesktop/afterbuild.js

@ -1,7 +1,7 @@
const { spawn } = require('child_process'); const { spawn } = require('child_process');
exports.default = async function afterbuild(context) { exports.default = async function afterbuild(context) {
console.log('AFTER BUILD', context); console.log('AFTER BUILD', context);
const child = spawn('ls', '-la', { shell: true }); const child = spawn('ls', ['-la'], { shell: true });
child.stdout.on('data', (data) => { child.stdout.on('data', (data) => {
console.log(`stdout: ${data}`); console.log(`stdout: ${data}`);
@ -15,4 +15,4 @@ exports.default = async function afterbuild(context) {
console.log(`child process exited with code ${code}`); console.log(`child process exited with code ${code}`);
}); });
} }

Loading…
Cancel
Save