Initial curated RepoPulse source from 2524ccc3c1c27739996dccb2b7992989f88cd26d
This commit is contained in:
commit
0adf8ef5d9
90 files changed
+14315
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { spawn } from 'node:child_process'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
const vite = fileURLToPath(new URL('../node_modules/vite/bin/vite.js', import.meta.url))
|
||||
const child = spawn(process.execPath, [vite, '--host', '127.0.0.1', '--port', '4173'], {
|
||||
cwd: new URL('..', import.meta.url),
|
||||
env: { ...process.env, REPOPULSE_API_PROXY: 'http://127.0.0.1:8001' },
|
||||
stdio: 'inherit',
|
||||
})
|
||||
|
||||
child.on('exit', (code) => process.exit(code ?? 0))
|
||||
Reference in new issue
Block a user