ChrisPenner / ChrisPenner/slick

Live reloading?

Open
#19 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
223
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Is it possible to do live reloading of content with slick? I skimmed through the docs but couldn't find anything straight away.

What I do now is:
- run `live-server` in output folder
- map keybinding in vim to trigger `stack run` to build website
- see content reload in browser (thanks to live-server)

But ideally, I would like to do this directly in slick with something like a `--watch` or `--continuous` flag.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing `stack run` build path and how Shake is configured, then compare it with the current `live-server` workflow. Define the expected behavior for a `--watch` or `--continuous` option and verify that content changes rebuild the output and refresh the browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.