teatrove/teatrove — Issue #22: Tea uses different timestamps of templates when using template server
Author: nicholashagen
Created: 2012-02-01 21:32:17+00:00
State: open

It seems like there’s a bug in the Tea compiler code that causes two different execution paths when errors do and do not exist. When errors do not exist, the compiler uses the timestamp from the last modified date of the source file on the staging box. When errors do exist, the compiler uses the timestamp from the local machine’s clock. Since the local machine’s clock was two minutes in the future, the compiler determined that the current local template class version was newer than the source file on the staging box for about two minutes, which is why no template changes were detected during that window.