Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TwigBundle] Skip build dir warmup when auto-reload is enabled#60196

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
GromNaN wants to merge1 commit intosymfony:7.3fromGromNaN:twig-build-dir

Conversation

GromNaN
Copy link
Member

QA
Branch?7.3
Bug fix?no
New feature?no
Deprecations?no
Issues-
LicenseMIT

When the build dir is different from the cache dir, the twig cache warmer is called 2 times, once during build, and the second during cache warmup. In development, when auto-reload is enabled, warming the cache during the build of the container is not necessary. Skipping will save time in dev.

If#54384 is merged before 7.3, this PR is not necessary.

@Okhoshi
Copy link
Contributor

This problem is not specific to the TemplateCacheWarmer, so every other Optional CacheWarmer will have the same behavior, which is not so great IMHO.

@GromNaN
Copy link
MemberAuthor

Not really useful.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ycerutoycerutoAwaiting requested review from ycerutoyceruto is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
7.3
Development

Successfully merging this pull request may close these issues.

3 participants
@GromNaN@Okhoshi@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp