I am just starting to learn Nanoc and I totally love it. As a newbie
I'm a little confused over "nanoc autocompile" I thought I could use
it to live preview while I create items, but I can't get them to
preview or should I say get them to compile into the output directory
when I switch to previewing them through a browser, so I have found I
need to run "nanoc compile" each time I want to preview the newly
created item.
Is that the right way of using the autocompile feature?
Thanks
John
Hi,
“nanoc3 autocompile” runs a server that compiles pages on-the-fly as requested; it does not compile the entire site. The autocompiler is meant as a tool to quickly make changes to the site and see these changes without having to compile the site every time something is changed.
The autocompiler will compile only items requested by the browser to the output/ directory. To compile the entire site (necessary before deploying a site), the “nanoc3 compile” command should still be used.
Regards,
Denis
--
Denis Defreyne
denis.d...@stoneship.org