Static GitHub Issues

[2046] Component Files not watched in nested pages

prev: Need better way to logs error on Server Error page?
next: for SEO fetch data before render component and set meta details for social sharing links

When a component is imported on a multi-nested dynamic page, change the contents of the component is not detected and does not trigger a HMR re-build.

STR 1. Create page structure

pages
- test
- - _x
- - - _y
- - - - index.vue
  1. create a test component
  2. load the test component from _y/index.vue
  3. Change the contents of test component, notice a file watch change does not occur.

Environment Doceker node:8.8.0-alpine

Additional Notes. This bug does not occur when the double nested dynamic directories do not exist. For example, change the _y to y will not experience the same problem.

pages
- test
- - _x
- - - y
- - - - index.vue
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1815">#c1815</a>)</em></sub></div>