saberland/saber

Index.vue Page does not have hot-reload

Opened this issue · 2 comments

Bug report

Hot reloading is somehow not working for index.vue page files without a layout. However it is working if we're using index.md page and index.vue layout. The goal is to just use index.vue page without using a layout.

Steps to reproduce

  1. Create index.vue page
  2. Remove layout attribute from export const data
  3. Edit content

What is expected?

Expect hot reloading to continue to work

What is actually happening?

Hot reload does not work

I guess you mean hot reloading isn't working after removing the data.layout property from index.vue page.

Yep that's what I meant.

Also, saber-link won't update the page content (window.History is updated however) on a clear cache reload if index page does not use a layout.

To replicate:

  1. cmd+shift+R index page
  2. Try to click any of the permalinks in injectAllPost posts.