Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 3.4 (really, it's a Flex thing) |
To reproduce:
-
Install a bundle that does NOT create a config file for you (which is totally fine if you bundle doesn't normally need configuration). For example:
composer require knplabs/knp-markdown-bundle
-
Create a config file - e.g.
config/packages/knp_markdown.yaml
.
The container will not rebuild automatically. In Kernel.php
, we're loading some glob
via the GlobResource
, but it doesn't appear that those GlobResource
are actually set into the container and thus considered on refresh. On container build, I see about 12 GlobResource
being created. But on refresh, I only see isFresh()
being called on 2 of them (both looking in src/
or /src/Controller
for changes) - I also only see those 2 in the .meta file.
It appears like we're creating GlobResource
in FileLoader
, using them to find files, but never adding them to the container as resources. Or am I mistaken?
Thanks!