You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, apologies if this isn't the right place to log this. It's pretty easy to reproduce:
create a new project using snap init
add {-# OPTIONS_GHC -Wall #-} to Site.hs
cabal install -fdevelopment
run the project
Project compiles fine, then proceeds to hang when you access the first page, printing the warning out on the console.
Having tracked down the cause, I don't know if it's even solvable...
(Updated: initial report was a lot more complex)
The text was updated successfully, but these errors were encountered:
JulianBirch
changed the title
Snap servers can hang with GHC warnings switched on
-fdevelopment Snap servers can hang with GHC warnings switched on
Oct 26, 2014
This is probably just my inexperience talking, but I really don't understand the behaviour. For instance, my reading of the cabal file says that Wall is switched on, but if I run cabal install I don't get any warnings. So, even if I did cabal install && cabal install -fdevelopment I'd run into the problem.
Hi, apologies if this isn't the right place to log this. It's pretty easy to reproduce:
snap init
{-# OPTIONS_GHC -Wall #-}
toSite.hs
cabal install -fdevelopment
Project compiles fine, then proceeds to hang when you access the first page, printing the warning out on the console.
Having tracked down the cause, I don't know if it's even solvable...
(Updated: initial report was a lot more complex)
The text was updated successfully, but these errors were encountered: