lemmy-phpbb-sveltejs/rollup_start_dev.js

13 lines
296 B
JavaScript
Raw Normal View History

import * as child_process from 'child_process';
let running_dev_server = false;
export default {
writeBundle() {
if (!running_dev_server) {
running_dev_server = true;
2019-10-23 16:19:21 +00:00
child_process.spawn('npm', ['run', 'start:dev'], { stdio: ['ignore', 'inherit', 'inherit'], shell: true });
}
}
};