Hello!
We have encountered a situation where the /* @refresh reload */ pragma is not respected because it's not the first comment in the file.
It's particularly tricky because our files have a copyright header which is added automatically, meaning we need /* @refresh reload */ to appear after the copyright.
In contrast, both Typescript and ESLint pragmas work fine after the copyright header. i would expect solid-refresh to be the same.
Example:
// This is a copyright header
// which is automatically injected
/* @refresh reload */
const App = (props) => {
...
}