On Monday, February 2, 2015 at 10:00:18 PM UTC-8, Martin Blais wrote:
>
> On Tue, Feb 3, 2015 at 12:09 AM, <[email protected] <javascript:>> wrote:
>
>> One question: previously, if I wrote to the beancount file that a 
>> bean-web process was already using, and if I hit refresh, bean-web noticed 
>> the update to the file and re-read. This still works now, but only on the 
>> including file, not on the included files. Is this a pain to fix, or 
>> relatively easy?
>>
>
> Oops, hadn't thought about that one.
>
> I guess I'll need to add this bit then:
>
> https://bitbucket.org/blais/beancount/src/4c630c581565f97b28691a67dde52728a24541fb/src/python/beancount/loader.py?at=default#cl-179
>
> And modify the web app so that it detects it for a set of files here:
>
> https://bitbucket.org/blais/beancount/src/4c630c581565f97b28691a67dde52728a24541fb/src/python/beancount/web/web.py?at=default#cl-896
>

Done, and pull request created:
https://bitbucket.org/blais/beancount/pull-requests/6/feature-include-files-refresh/diff
 

Unfortunately, BEANCOUNT_DISABLE_LOAD_CACHE must be set for this feature to 
work. Could you please see if there's a better way? Thanks!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to