From f1f642e869b9b4ec99435d22388c1ae5d2c00bcc Mon Sep 17 00:00:00 2001 From: imago Date: Wed, 21 Aug 2024 19:00:28 +0300 Subject: [PATCH] Updated usage string --- cmd/setup.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cmd/setup.go b/cmd/setup.go index 320dabc..f839c0b 100644 --- a/cmd/setup.go +++ b/cmd/setup.go @@ -58,14 +58,15 @@ func formatCommandDescriptions() string { return buf.String() } -const usage = `== Web Development 40 == +const usage = `== Web Development 41 == -This tool is designed to enable hot reload for any statically hosted web development. -It injects a websocket script (in a mirrored version of the file) into html pages +This tool is designed to enable live reload for statically hosted web development. +It injects a websocket script in a mirrored version of html pages and uses the fsnotify (cross-platform 'inotify' wrapper) package to detect filechanges. On filechanges, the websocket will trigger a reload of the page. -The 40 is only to enable rust-repellant properties. +The 41 (formerly "40", before I got spooked by potential lawyers) is only +to enable rust-repellant properties. Commands: %v`