miso
Copyright(C) 2016-2025 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Run

Contents

Description

Support for running and live-reloading of miso applications.

Synopsis

Live reload

run Source #

Arguments

:: IO ()

An IO action typically created using miso or startApp

-> IO () 

Entry point for a miso application.

reload Source #

Arguments

:: IO ()

A JSM action typically created using miso or startApp

-> IO () 

Like run, but clears the body and head on each reload.

Meant to be used with WASM browser mode

Since: 1.9.0.0