LiveReload not rebuilding page resources

Here’s another one:

I’m trying to use several markdown files as resources for a single page. Everything is compiling together when I first run Hugo server -D but when I make changes to these sub-pages they don’t seem to be updating though they’re being detected:

Change detected, rebuilding site
2018-04-25 20:40:47.046 -0400
Source changed "/Users/jaredwolff/Web/circuitdojo-hugo/content/jeep-project/": WRITE
Total in 4 ms

The tree structure looks like the following:

└── jeep-project
    ├── documents
    │   ├── circuit-dojo-jeep-project-bom.csv
    │   └── circuit-dojo-schematic.pdf
    ├── images

I’ve also tried running it with the disableFastRender flag with no improvement. Interestingly, the files seem to render ok.

I’m referencing the content in the template like the following:

    <div id="elements">
    {{ range sort (.Resources.ByType "page") "Params.order" }}
      {{ if eq .Params.Order 0 }}
      <div id="element-{{.Params.Order}}" class="row justify-content-center">
      {{ else }}
      <div hidden id="element-{{.Params.Order}}" class="row justify-content-center">
      {{ end }}
        <div class="col-lg-8">
          {{ if .Params.Video }}
          <iframe width="100%" height="400" src="{{.Params.Video}}?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
          {{ end }}
          {{ .Content }}
    {{ end }}

I’m running 0.38.2.

Upgraded to 0.4 and it seems ok.

I also have an issue regarding page bundles and live reload. When using hugo server and then creating a page bundle, it picks up the .md file just fine. However, if I add some images, hugo does not include them into the .Resources variable unless I restart the server which is uncomfortable. Does anyone else have this problem or is this intended? If it’s the former, then we probably should create a github issue for this.

I’m using the latest hugo 0.40.3, developing the page on windows.

You should.

Issue created: