@Fez-Vrasta said:
so they should have called it dist
...
And inside it you should see only compiled sources. .tpl
files are not compiled so they shouldn't be there.
Also, I have placed a background image in that folder and it never been removed.
It's not really compiled in the traditional sense, nodejs (JavaScript as a whole) is an interpreted language. What is stored in the public folder are templates that are assembled at startup depending on your theme choices, etc. so if you put some change in the tpl file it will get overwritten. The templates are then used by client-side parsers to render the content for the user.
If you're trying to make changes to something in a tpl file, you have to modify the theme directly.