[Cubicweb] Pyramid_cubicweb & pyramid cube - release soon, need review

Christophe de Vienne christophe at unlish.com
Fri Sep 19 11:49:21 CEST 2014


Le 19/09/2014 10:22, Denis Laxalde a écrit :
> [...]
>
> Christophe de Vienne a écrit :
>> - An improved 'pyramid' command that behaves almost like the 'start'
>> command, but better :-)
>>
>> Why better ? Because it separates the auto-reloading from the debug
>> mode. More importantly, instead of using repo.reload_if_needed() on a
>> cube source file change, it completely restart immediately the process
>> if _any_ module, the interpreter or the configuration file changes.
>> There is a drawback (for now): if a syntax error is saved to the disk,
>> the whole process stops, and we need to restart manually.
>
> Great, auto reload was quite missing last week.

And it just got improved. If the server fails to reload, the reloader 
now waits for a file to change a again and attempts to start again.

This way, saving a syntax error in a files will not stop the reloader, 
which makes the 'pyramid' command on-par with the 'start' command.

Cheers,

Christophe



More information about the Cubicweb mailing list