Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Apr 20, 2024
1 parent e2b42a3 commit e22a9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hot_hook/src/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { packageJson, path: packageJsonPath } = pkgJson
const hotHookConfig = packageJson.hotHook

await hot.init({
rootDirectory: dirname(packageJsonPath),
rootDirectory: dirname(packageJsonPath).replace(/\\/g, '/'),
boundaries: hotHookConfig?.boundaries,
ignore: ['**/node_modules/**'].concat(hotHookConfig?.ignore || []),
root: hotHookConfig?.root ? resolve(packageJsonPath, hotHookConfig.root) : undefined,
Expand Down

0 comments on commit e22a9b9

Please sign in to comment.