<ddfreyne>
geotti: No, unfortunately not. It’s a very complex problem to tackle.
<geotti>
ddfreyne: yeah, having an interesting discussion with mitchell over in #pelican about what such an editor should do (i.e. be aware of the system itself, the use-case, the user-experience [i.e. hide UI elements as appropriate], be extendable [i.e. new use-cases as plugins]) ...
<ddfreyne>
geotti: I see dependency tracking as one of the pain points. If one page changes, a lot of other pages can be affected, so compilation can potentially take a long time
<ddfreyne>
I’d ideally also love to have a real-time preview, which would require nanoc to be able to recompile pages in realtime and with a small delay (< 0.5s).
<geotti>
ddfreyne: I don't really know nanoc, but the way it's solved in the above tool is that stuff can be published or not and after you're done you generate/deploy the site
<ddfreyne>
geotti: nanoc does dependency tracking. If the home page contains the latest blog post, and you write a new blog post, the home page will be updated too.
<ddfreyne>
(But other blog posts aren't affected so they are not recompiled)
<geotti>
ddfreyne: I believe this is the way it works in hexo as well (used it for two days, but ultimately it isn't up to my requirements). But you don't need to update everything
<ddfreyne>
geotti: nanoc only recompiles what's necessary
<ddfreyne>
(In case of doubt, it will recompile.)
<geotti>
Hm.. I guess this matters a lot for *huge* sites
<ddfreyne>
geotti: Huge sites are a problem for static site generators, even with dependency tracking
<geotti>
ddfreyne: the question is, whether it'd be possible to ignore this and just recompile everything and leave dependency tracking for a later date
<ddfreyne>
geotti: Huge as in a few thousand pages or more
<geotti>
yes
<ddfreyne>
geotti: nanoc's dependency tracking already exists and works
<ddfreyne>
It's not perfect, but there are some very hard problems to solve anyway (for instance, if you have an ERB-formatted page, how do you know what it depends on? You can only know by compiling the item.)
<ddfreyne>
page == item btw
<ddfreyne>
geotti: I’m a bit feverish atm, so I’m not in the best condition to talk
<geotti>
ddfreyne: I guess we're on par, as I've been up a while ;)
<geotti>
ddfreyne: so the issue is essentially partials?
alerante has joined #nanoc
<geotti>
ddfreyne: what I mean is that maybe it's not necessary to compile the whole item, but just render what can be rendered for the partial?
alerante has quit [Ping timeout: 245 seconds]
VitamineD has joined #nanoc
<travis-ci>
nanoc/nanoc/master bf03823 Denis Defreyne: The build passed.
FunkyPenguin has quit [Ping timeout: 258 seconds]
FunkyPenguin has joined #nanoc
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
geotti is now known as geotti_afk
geotti has joined #nanoc
geotti_afk has quit [Ping timeout: 265 seconds]
tantalum has joined #nanoc
pkunc has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 258 seconds]
pkunc has quit [Quit: Leaving.]
pkunc has joined #nanoc
pkunc has quit [Quit: Leaving.]
pkunc has joined #nanoc
zi has quit [Ping timeout: 255 seconds]
tantalum has quit [Ping timeout: 260 seconds]
pkunc has quit [Quit: Leaving.]
pkunc has joined #nanoc
pkunc has quit [Client Quit]
pkunc has joined #nanoc
pkunc has quit [Quit: Leaving.]
pkunc has joined #nanoc
tantalum has joined #nanoc
zi has joined #nanoc
pkunc has quit [Quit: Leaving.]
pkunc has joined #nanoc
pkunc has quit [Client Quit]
VitamineD has quit [Ping timeout: 258 seconds]
pkunc has joined #nanoc
tantalum has quit [Quit: Leaving]
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #nanoc
alerante has joined #nanoc
geotti has quit [Quit: bye..]
VitamineD has joined #nanoc
pkunc has quit [Quit: Leaving.]
VitamineD has quit [Quit: (null)]
VitamineD has joined #nanoc
prxq has joined #nanoc
alerante has quit [Remote host closed the connection]