sync
sync copied to clipboard
Auto Recompile ErlyDtl
I will update to last version of Sync 22/03/2014, but ErlyDtl templates don`t recompiles after changes.
Oh boy. Right, the latest ErlyDTL Api changes. I'll have a look at this, thanks!
Jesse Gumm Owner, Sigma Star Systems 414.940.4866 || sigma-star.com || @jessegumm On Mar 21, 2014 8:19 PM, "Dryymoon" [email protected] wrote:
I will update to last version of Sync 22/03/2014, but ErlyDtl templates don`t recompiles after changes.
Reply to this email directly or view it on GitHubhttps://github.com/rustyio/sync/issues/28 .
Thanks a lot, for fast reply.
Hmm.. I thought I'd kept the API backwards compatible.. I'd be interested to know if this was not the case.
Thanks Andreas, it's possible that given some of the crash issues from the pre 0.9.3 releases are related to this.
I'll let you know as soon as I discover what's going on here.
On Tue, Apr 1, 2014 at 4:13 AM, Andreas Stenius [email protected]:
Hmm.. I thought I'd kept the API backwards compatible.. I'd be interested to know if this was not the case.
Reply to this email directly or view it on GitHubhttps://github.com/rustyio/sync/issues/28#issuecomment-39185044 .
Jesse Gumm Owner, Sigma Star Systems 414.940.4866 || sigma-star.com || @jessegumm
Cool. I also realized that there actually was a API breaking change going from 0.9.0 to 0.9.1 in the result terms. But looking at the code, it looks like this should was already taken care of, as the erlydtl compile call is paired with a call to compile:file.
2014-04-02 3:17 GMT+02:00 Jesse Gumm [email protected]:
Thanks Andreas, it's possible that given some of the crash issues from the pre 0.9.3 releases are related to this.
I'll let you know as soon as I discover what's going on here.
On Tue, Apr 1, 2014 at 4:13 AM, Andreas Stenius <[email protected]
wrote:
Hmm.. I thought I'd kept the API backwards compatible.. I'd be interested to know if this was not the case.
Reply to this email directly or view it on GitHub< https://github.com/rustyio/sync/issues/28#issuecomment-39185044> .
Jesse Gumm Owner, Sigma Star Systems 414.940.4866 || sigma-star.com || @jessegumm
Reply to this email directly or view it on GitHubhttps://github.com/rustyio/sync/issues/28#issuecomment-39279766 .
Likewise, I'm not seeing sync recognize changes to my .dtl files either. If I shutdown my app, make and restart, the changes show. If I make w/o shutting down, everything gets picked up as a change and the new template shows.
sync doesn't reload modules built without this erlydtl_opts's {module_ext, "_dtl"} option.
because of: https://github.com/rustyio/sync/blob/master/src/sync_scanner.erl#L441 https://github.com/rustyio/sync/blob/master/src/sync_scanner.erl#L484