-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make several changes to improve the reliability of
--watch
mode (#2444
) 1. The import cache now tracks the most recent time it actually loaded a stylesheet, so that `--watch` mode can invalidate cached data if it's older than the mtime on disk. This should help catch some cases where the watcher information doesn't match the filesystem. 2. Rather than eagerly recompiling as soon as it knows it needs to, the stylesheet graph now only starts recompiling once it's finished processing a batch of events. This ensures that any cache invalidation is finished before the recompilation happens. 3. The stylesheet graph and import cache now eagerly invalidate all canonicalize results that could be changed by an added or removed file, rather than only those that are implicated by the in-memory ASTs. This avoids issues when the in-memory AST is stale. Closes #2440
- Loading branch information
Showing
11 changed files
with
145 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## 0.4.7-dev | ||
## 0.4.7 | ||
|
||
* No user-visible changes. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## 14.4.0-dev | ||
## 14.4.0 | ||
|
||
* No user-visible changes. | ||
|
||
|
Oops, something went wrong.