Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 981 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 981 Bytes

yesod-fast-devel


Fast live-reloading for yesod applications.

Forked from fast-yesod-devel

Install

$ git clone git@github.com:haskellbr/yesod-fast-devel
$ stack install

Usage

  • Have browser-sync installed (npm install -g browser-sync)
  • Have foreign-store on the cabal file (maybe cabal-add foreign-store)
  • Patch your "develmain" to write the current time to a devel-main-since file on reload
    • We do this for you through yesod-fast-devel init
$ yesod-fast-devel

Example using Spock

The git-issues project shows how you can use this with Spock applications.

License

This code is published under the BSD-3 license.