Skip to content

haskellbr/yesod-fast-devel

 
 

Repository files navigation

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.

About

Fast live-reloading for yesod applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%