Windows 10+Yesod+Postgres+Persistent

20 views
Skip to first unread message

Ideal Learning

unread,
Jun 8, 2021, 8:12:10 AM6/8/21
to Yesod Web Framework
Hi all!

When I try to make the compilation cycle a bit faster by doing the necessary tricks and I end up with DevelMain.update failing.

I found some discussions on this topic, but could not figure out if this is considered a problem and if it is, has it been solved to some extent? 

The very idea is to be able to make some changes to the handlers without recompiling all the sources and having TH compiled, too. 

Regards

Juuso

Ideal Learning

unread,
Jun 11, 2021, 2:08:08 AM6/11/21
to Yesod Web Framework
This got resolved by running ghcid and letting the system reload the code. When the code compiles I build the "whole" server and run it at a specified port.

jsch...@gmail.com

unread,
Dec 3, 2021, 5:10:45 PM12/3/21
to Yesod Web Framework
I didn't know ghcid before. Nice that it automatically reloads.

But you still have to call DevelMain.update?

Don't you use stack? In that case you better use stack ghci and not system ghci/ghcid, I think.
Reply all
Reply to author
Forward
0 new messages