Files
scrypted/server/bin/scrypted-server
2021-12-08 10:42:46 -08:00

6 lines
225 B
JavaScript

#!/usr/bin/env node
const { spawn } = require('child_process');
const path = require('path');
const mainPath = path.join(__dirname, '../dist/scrypted-main.js');
spawn('node', ['--expose-gc', mainPath], { stdio: 'inherit' });