more robust error handling, config hotreload
This commit is contained in:
parent
9e76b257d4
commit
c402f0c385
10 changed files with 151 additions and 145 deletions
|
@ -1,4 +1,5 @@
|
|||
import chalk from "chalk"
|
||||
import process from "process"
|
||||
|
||||
const rootFile = /.*at file:/
|
||||
export function trace(msg: string, err: Error) {
|
||||
|
@ -28,4 +29,5 @@ export function trace(msg: string, err: Error) {
|
|||
}
|
||||
}
|
||||
}
|
||||
process.exit(1)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue