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

 
Synopsis

Live reload

run :: JSM () -> IO () Source #

Entry point for a miso application When compiling with jsaddle on native platforms run will start a web server for live reload of your miso application.

When compiling to WASM use 'jsaddle-wasm'. When compiling to JS no special package is required (simply the id function). JSM becomes a type synonym for IO