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

Instead of checking date, check time thats more accurate to see if something has changed #1217

Merged
merged 3 commits into from Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
@@ -1,7 +1,10 @@
# Changelog

## v8.0.12
* [Instead of checking date, check time thats more accurate to see if something has changed](https://github.com/TypeStrong/ts-loader/pull/1217) - thanks @sheetalkamat

## v8.0.11
* [Fixed build failing in yarn v2 pnp](https://github.com/TypeStrong/ts-loader/pull/1209) - @aicest
* [Fixed build failing in yarn v2 pnp](https://github.com/TypeStrong/ts-loader/pull/1209) - thanks @aicest

## v8.0.10
* [Fixed missing errors in watch mode in webpack5](https://github.com/TypeStrong/ts-loader/issues/1204) - thanks @appzuka
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ts-loader",
"version": "8.0.11",
"version": "8.0.12",
"description": "TypeScript loader for webpack",
"main": "index.js",
"types": "dist",
Expand Down
2 changes: 1 addition & 1 deletion src/servicesHost.ts
Expand Up @@ -1040,7 +1040,7 @@ export function makeSolutionBuilderHost(
const existing = inputFiles.get(key) || missingFileModifiedTime;
const newTime =
compiler.sys.getModifiedTime!(fileName) || missingFileModifiedTime;
if (existing === newTime) {
if (existing.getTime() === newTime.getTime()) {
return;
}
const eventKind =
Expand Down