Closed talha-asad closed 8 years ago
No, I would merge a PR fixing that.
Okay please assign this the bug label and i will try fixing this.
Can you give me a pointer, where i should start working on this? I am now testing it with a standard meteor html template, just to make sure this is not being caused by meteor itself.
The template name is calculated here.
Thanks.
Okay this works fine with Meteor simple html templates. I am going to try and fix this in your package.
I think you also need to add _
to the regex that detects “user-components” here.
Yes makes sense, thanks.
Sorry @mquandalle. Seems this works already, it wasn't working for me as i renamed a bunch of template names to start with _
and apparently meteor didn't recompile the spacebar version of it. So the bug is maybe that. And the component regex probably needs to support template names starting with _
.
Ok, I understand the issue, will work on a fix.
Actually underscores are already supported (from the \w
symbol in the regex), so it is only a problem of cache invalidation when you renamed your jade files.
Makes sense. Thanks for the quick fix :+1:
Create a template file, such as
_test.tpl.jade
. This template cannot be included using+_test
but instead with+test
. Looks like a bug.@mquandalle is this, being done on purpose?