Late reply, but just for the record— I ended up resolving the issue. I
documented the process in excessive detail in the [issue] I linked in the
first email. Here's a quick summary:
- In
hindsight, my original question emphasized Tailwind too much; the core
problem was really just about the speed of compile times in development.
- Thank you (and others) for pointing me towards GHCi, which was the solution (via `ghcid`). It achieved a **42x speedup** over `yesod devel`, taking an incremental recompile from 2.8s to 66.4ms.
-
I haven't figured out everything yet (specifically automatic reloads).
Perhaps DevelMain.hs actually has implemented this already, I just don't
know how to use it? But I'm busy now and won't come back to this
project for a bit.
- The single biggest improvement to my
experience starting with yesod would be if the book instructed me [how]
to use GHCi/ghcid with DevelMain.hs instead of `yesod devel`. When I
have time again I'll open an issue about that.
Best,
Stephen