Files
scrypted/server/bin/scrypted-serve
2022-04-04 18:14:46 -07:00

6 lines
225 B
JavaScript
Executable File

#!/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' });