Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0 version hang on second call bundler on the same instance #438

Closed
Delagen opened this issue Jun 5, 2020 · 3 comments
Closed

5.0 version hang on second call bundler on the same instance #438

Delagen opened this issue Jun 5, 2020 · 3 comments

Comments

@Delagen
Copy link

Delagen commented Jun 5, 2020

Current behavior

Hang

Expected behavior

Build

Steps to reproduce the issue

create webpack instance
call bundler.run() continuosly 2 times one after other complete

ts-loader config

{
allowTsInNodeModules: true,
ignoreDiagnostics: [],
configFile: tsConfigFilePath,
compilerOptions: {
importHelpers: true,
noEmit: false,
noEmitOnError: false,
noEmitHelpers: true,
skipLibCheck: true
},
instance: path.relative(workDir, filePath),
transpileOnly: false, //need full transpile as const enums used
onlyCompileBundledFiles: true,
experimentalFileCaching: true,
silent: false
},

fork-ts-checker

{
async: true,
typescript: {
enabled: true,
configFile: tsConfigFilePath,
memoryLimit: 2048,
mode: "readonly",
build: false,
compilerOptions: {
declaration: false,
sourceMap: false,
inlineSourceMap: false,
incremental: true,
importsNotUsedAsValues: "preserve"
},
profile: false,
diagnosticOptions: {
syntactic: true,
semantic: true,
declaration: true,
global: true
}
},
formatter: {type: "codeframe", options: {highlightCode: true, forceColor: true}}
}

Also errors from checker missing file path, so developer cannot simply locate source

Environment

  • fork-ts-checker-webpack-plugin: 5.0 latest alpha
  • typescript: 3.9.3
  • eslint: not using
  • webpack: latest 5.0 alpha
  • os: Windows 10
@Delagen Delagen added the bug label Jun 5, 2020
@piotr-oles
Copy link
Collaborator

Thanks for reporting this issue :) I think I know why it doesn't work, I will try to fix it soon :)

@piotr-oles
Copy link
Collaborator

🎉 This issue has been resolved in version 5.0.0-beta.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@piotr-oles
Copy link
Collaborator

🎉 This issue has been resolved in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants