Skip to content

Commit f1791dd

Browse files
committed
fix: add more detailed error messages
1 parent 36b6bf2 commit f1791dd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/instances.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ export function initializeInstance(
375375
} else {
376376
if (!loader._compiler!.hooks) {
377377
throw new Error(
378-
"You may be using an old version of webpack; please check you're using at least version 4"
378+
"You may be using an old version of webpack; please check you're using at least version 4. Or you should set `transpileOnly` or `happyPackMode` to true when using with `thread-loader`."
379379
);
380380
}
381381

src/servicesHost.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ function createWatchFactory(
382382
}
383383
return result;
384384
}
385-
``;
386385

387386
function invokeRecursiveDirectoryWatcher(
388387
directory: string,

0 commit comments

Comments
 (0)