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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template preprocessors don't always receive co-located component templates #9842

Open
runspired opened this issue Apr 7, 2022 · 3 comments
Labels

Comments

@runspired
Copy link
Contributor

Hard to reproduce, it is either going wrong or not. But basically the templates that a template preprocessor is given to handle may not always include the component tree's templates. 馃槺

I've tried with JOBS=1 and with providing a custom cacheKey to the preprocessor that returns ${Date.now()} in case this was a cache issue, with no luck.

@runspired
Copy link
Contributor Author

I think this is a cache issue of some sort, I get the component templates any time I've edited one of them, but only then. The rest of the time I only get route templates. The issue does not seem to be the cache-key provided by my template pre-processor but rather something else.

@runspired
Copy link
Contributor Author

I previously opened this: ember-cli/ember-cli-preprocess-registry#106

But I think the issue isn't with the registry itself.

@lifeart
Copy link
Contributor

lifeart commented Apr 13, 2022

have seen this issue too, after server restart things working again, but could not figure out 100% error path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants