Developer forum

Forum » Templates » Parsed files aren't updated upon making changes to included files.

Parsed files aren't updated upon making changes to included files.

Finn Frost
Reply

I have a solution running on DW 8.3.0.2.

I have made use of Snippets (created a .cshtml file called Snippets.cshtml), which includes my snippet definitions and is included in the master template using the include tag.

Whenever I make changes in the template/file Snippets.cshtml that is included in the master template, then the file index.parsed.cshtml (which uses my mastertemplate) in the _parsed folder are updated. I then have to delete that file manually to make changes take effect.

Is it or wasn't it support to automaticly update(reparse) the template upon making changes to resources that the template upon? (Bug?)

 


Replies

 
Mikkel Ricky
Reply
This post has been marked as an answer

Det er en bug – eller i hvert fald en uhensigtsmæssighed. Vi kigger på det.

 

Som midlertidig løsning kan du tilføje parse=true i url'en og tvinge systemet til at genlæse alle skabeloner.

 

Oprettet som Bug 13308.

 

Venlig hilsen
Mikkel


 

 

 
Votes for this answer: 1
 
Nicolai Høeg Pedersen
Reply

In English please....

 
Finn Frost
Reply

Hi, yeah, sorry for not writing in english the first time, it has been changed/translated now.


Mikkels reply:

It is a bug - and deffinitely not appropriate. We'll take a look at it.

 

A temporary solution is to add parse=true in the URL and force the system to reload all templates.

Created as Bug #13308

 

You must be logged in to post in the forum