Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Jun 23, 2024
1 parent d4727f1 commit 9a1203b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/instances/silius.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,16 +325,16 @@ export const silius = defineInstance((parameters?: SiliusParameters) => {

return await process.start(($) => $`docker run ${args_}`, {
...options,
resolver({ process, resolve }) {
resolver({ process, resolve, reject }) {
process.stdout.on('data', (data) => {
const message = data.toString()
console.log('test', message)
if (message.includes('Started bundler JSON-RPC server')) resolve()
})
// process.stderr.on('data', (data) => {
// console.log('test', data.toString())
// reject(data)
// })
process.stderr.on('data', (data) => {
console.log('test', data.toString())
reject(data)
})
},
})
},
Expand Down

0 comments on commit 9a1203b

Please sign in to comment.