sync page type files 

the objective is to be able to edit the page type files in some text editor and have them always synced. achieving the normal work flow  by removing the need to go sync files in the admin backend.

so in the commit i check if we are the development env and if yes always delete the page cache when a page is requested.
is this viable ? for me its awesome because i can setup my page types html much faster but i may be overlooking something.