On a new project initialized with the yesod templates, with the resolver automatically set to lts-12.5, hamlet templates are not watched. That is, running yesod devel fails to rebuild the app on changes to the template files.
Tested on both macos 10.13.6 and Ubuntu 18.04.
What worked however is changing the stack resolver from the picked up lts-12.5 stack resolver to lts-11.20.
Running watched command from stack build --file-watch confirms that the hamlet files are missing when on lts-12.5, but are present on lts-11.20.
On a new project initialized with the yesod templates, with the resolver automatically set to lts-12.5, hamlet templates are not watched. That is, running
yesod develfails to rebuild the app on changes to the template files.Tested on both macos 10.13.6 and Ubuntu 18.04.
What worked however is changing the stack resolver from the picked up
lts-12.5stack resolver tolts-11.20.Running
watchedcommand fromstack build --file-watchconfirms that the hamlet files are missing when on lts-12.5, but are present on lts-11.20.