Skip to content

Nested includes do not get live reloaded #127

@nicholaschuayunzhi

Description

@nicholaschuayunzhi

Stumbled upon a bug when trying to improve build time for live reloading.

BUG: Anything nested in two levels of dynamic include do not get updated.

Set up

site.json

{ 
  "baseUrl": "",
  "pages": [
    {
      "src": "index.md",
      "title": "Hello World"
    }
  ],
  "ignore": [
    "_site/*",
    "site.json"
  ],
  "deploy": {
    "message": "Site Update."
  }
}

index.md

<include src="include1.md" dynamic />

include1.md

<include src="include2.md" dynamic />

Any changes here will be reloaded correctly

include2.md

Any changes here will NOT be reloaded correctly

Steps

  1. run $ markbind serve
  2. make a change to text in include2.md and save
  3. site reloads but content in the nested dynamic panel is unchanged

Additional Notes

  • after applying steps 1 - 3, a change to include1.md will update the include1's content correctly but the include2 content is still unchanged

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions