Fast live-reloading for yesod applications.
Forked from fast-yesod-devel
$ git clone [email protected]:haskellbr/yesod-fast-devel
$ stack install
- Have browser-sync installed (
npm install -g browser-sync) - Have
foreign-storeon the cabal file (maybecabal-add foreign-store) - Patch your "develmain" to write the current time to a
devel-main-sincefile on reload- We do this for you through
yesod-fast-devel init
- We do this for you through
$ yesod-fast-devel
- An auto-reload process is running on port
4000(http://localhost:4000), proxying requests to your app.
The git-issues project shows how you can use this with Spock applications.
This code is published under the BSD-3 license.