From f1474f4432b5059d58a70f51a3ccbe619fd0234a Mon Sep 17 00:00:00 2001 From: Khan Thompson Date: Mon, 13 Feb 2012 01:09:01 +1100 Subject: [PATCH] Adding a comment to the models config file for the scaffolded site to help avoid gotcha --- yesod/scaffold/config/models.cg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yesod/scaffold/config/models.cg b/yesod/scaffold/config/models.cg index c6e732e2..bebe304c 100644 --- a/yesod/scaffold/config/models.cg +++ b/yesod/scaffold/config/models.cg @@ -9,3 +9,5 @@ Email UniqueEmail email -- By default this file is used in Model.hs (which is imported by Foundation.hs) + -- If you are using the devel server, and don't see your changes being generated, + -- you need to 'touch' the Model.hs file \ No newline at end of file