Skip to content

Commit

Permalink
fix: config changes not applied on auto restart
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Nov 11, 2022
1 parent eefa2df commit a54efad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/histoire/src/node/config.ts
Expand Up @@ -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}`)
Expand Down

0 comments on commit a54efad

Please sign in to comment.