sync icon indicating copy to clipboard operation
sync copied to clipboard

Auto Recompile ErlyDtl

Open Dryymoon opened this issue 11 years ago • 7 comments
trafficstars

I will update to last version of Sync 22/03/2014, but ErlyDtl templates don`t recompiles after changes.

Dryymoon avatar Mar 22 '14 01:03 Dryymoon

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 .

choptastic avatar Mar 22 '14 01:03 choptastic

Thanks a lot, for fast reply.

Dryymoon avatar Mar 22 '14 01:03 Dryymoon

Hmm.. I thought I'd kept the API backwards compatible.. I'd be interested to know if this was not the case.

kaos avatar Apr 01 '14 09:04 kaos

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

choptastic avatar Apr 02 '14 01:04 choptastic

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 .

kaos avatar Apr 02 '14 04:04 kaos

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.

mdg avatar Oct 05 '14 20:10 mdg

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

ten0s avatar Mar 18 '16 16:03 ten0s