Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

The webby not check dependencies of partials.

#12

I think dependency check will be needed in Webby. For example, a.txt file depend to _b.txt .

$cat A.txt
---
title: foofoo
extension: html
filter: erb
---
<%= render :partial => "b" %>

$cat _b.txt
This is changed often. hogehoge.

$webby build
  update output/A.html

Next, I modify _b.txt

$cat _b.txt
This is changed often. foofoo222.

$webby build
  identical output/A.html

Ouch, no udates!

I want to propose. Please, try to add a partial attribute, if it is difficult to determine automatically.

$cat A.txt
---
title: foofoo
extension: html
filter: erb
partial:
  - b
---

Reported by Hcc · December 18th, 2008 @ 08:48 AM

State: open
Milestone: none
Assigned to: TwP TwP

Activity

  1. Hcc
  2. TwP
    TwP
    • State changed from new to open
    • Assigned user set to TwP

    Thanks for the patch. It is difficult to make the partial detection automatic, but the solution is halfway there already. The other half is persisting the rendering graph to disk and using the graph to figure who depends on what.

    January 23rd, 2009 @ 08:21 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.