Skip to content
Permalink
Browse files
fix: config changes not applied on auto restart
  • Loading branch information
Akryum committed Nov 11, 2022
1 parent eefa2df commit a54efadcdc4bc0dda5f2f853608475768360fb00
Showing 1 changed file with 1 addition and 0 deletions.
@@ -154,6 +154,7 @@ export async function loadConfigFile (configFile: string): Promise<Partial<Histo
try {
const result = jiti(__filename, {
esmResolve: true,
requireCache: false,
})(configFile)
if (!result.default) {
throw new Error(`Expected default export in ${configFile}`)

0 comments on commit a54efad

Please sign in to comment.