package tw

Build not checked
  1. Overview
  2. Docs
On This Page
  1. Livereload module
Type-safe Tailwind CSS v4 in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tw-1.1.1.tbz
sha256=2549905d8afca0e8e71d716c926743fb752e291d05ebd0b3e7007f843e2bbdb7
sha512=de9236e763845d39a234c27bfd9329c86dac6527914b08c1c70535aa110e34f28d8932407ab0fec7e674ca13b7a0bda2cd8908a9be1fdcd72691cf4babf53bf1

doc/tw.html/Tw_html/Livereload/index.html

Module Tw_html.LivereloadSource

Livereload module

Development-time live reloading support.

Sourceval enabled : bool

enabled is true if SITE_LIVERELOAD environment variable is "true".

Sourceval endpoint : string

endpoint is the WebSocket endpoint for livereload. Defaults to "ws://localhost:8080" or SITE_LIVERELOAD_ENDPOINT.

Sourceval script : t

script is the JavaScript code for livereload functionality. Only included when enabled is true.