Skip to content

Commit

Permalink
server: pass through restart hook
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 18, 2024
1 parent d245a72 commit 9827f15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/src/scrypted-main-exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export function isChildProcess() {
}

function start(mainFilename: string, options?: {
restart?: () => void,
onRuntimeCreated?: (runtime: Runtime) => Promise<void>,
}) {
if (!global.gc) {
Expand Down

0 comments on commit 9827f15

Please sign in to comment.