You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #50749 [AssetMapper] Allow DirectoryResource for cache (weaverryan)
This PR was squashed before being merged into the 6.3 branch.
Discussion
----------
[AssetMapper] Allow DirectoryResource for cache
| Q | A
| ------------- | ---
| Branch? | 6.3
| Bug fix? | (needed for a bug fix)
| New feature? | yes/no
| Deprecations? | no
| Tickets | [None](symfony/ux#961)
| License | MIT
| Doc PR | Not needed
Hi!
In StimulusBundle, one file is dynamically generated to contain the list of custom Stimulus controllers. This means the file's contents need to be regenerated in the `dev` environment whenever a new file is added to that directory. This PR allows the `fileDependencies` to also be a directory so that we can use a `DirectoryResource`.
This may not *quite* fit technically as a bug fix. However, as the component is experimental, this affects the `dev` environment only and it will allow for a pretty critical bug fix in StimulusBundle, I've characterized it as a bug fix for 6.3.
Thanks!
Commits
-------
d2d1476 [AssetMapper] Allow DirectoryResource for cache
0 commit comments