Closed poulet42 closed 7 months ago
I think this should probably be configurable. While it's common for folks to mix in React with Ember, I don't want to give React special treatment, and would like to equally support extending this extension list. That way, if folks are using Ember with Vue, Svelte, etc, they have a path to do so
@NullVoxPopuli Thank you for your answer 🙏 I'm closing this MR in favour of a more generic "glint.watchExtensions" setting. I'll take some time to work on it
👋 I have a usecase where I'm getting types from a
.tsx
file, glint errors does show up but does not get updated when the tsx types changes. This PR adds .tsx (and .jsx for consistency(?)) to the list of extensions to watch.I understand this is a rather unlikely usecase in a glint codebase but I'm trying my luck 🙏 . Another alternative would be to expose the list of extensions to watch as a setting but it's a bit more work