I see that you mention stat file is touched, if thats the case is the etc/design..* filter getting invalidated on accessing it on publisher.Also how does your invalidate section look like , can you paste here?Having said so, agree with Jörg code/templates should be a part of build process not activ...