-
Notifications
You must be signed in to change notification settings - Fork 27.6k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot reloading sub-components #294
Comments
You should keep you (reusable) sub-components in your own "components" dir, parallel to the "pages" dir. |
Yep, I know. It works for all files except for the files that are under /pages (and that aren't called directly as a page url) You're not forced to use 'components' but it just can't be inside the pages folder. Any reason why there is this limitation? |
There shouldn't be such a limitation, and this issue is legitimate. Thanks @jonaswindey |
When you have a page
test.js
in /pages, only changes to that file will be hot-reloaded.If you have a file
child.js
and load this fromtest.js
, any changes tochild.js
will not be hot reloaded.test.js
child.js
The text was updated successfully, but these errors were encountered: