command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Sep 10, 2024
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
wd-go
A local html based dev server demo.
Usage
- Install CLI
go install github.com/Seeingu/[email protected]
- Add this script to your html head
<script src="https://raw.githubusercontent.com/Seeingu/wd-go/main/static/reload.js?host=localhost"></script>
- Run
# use `wd-go -h` to see all arguments
wd-go ./index.html
open http://localhost:3012, edit and preview html in your browser
Support Features
-
reload after change html file
-
reload after change referenced JavaScript/CSS
-
live reload when changed global javascript variable
-
built-in popular libraries support
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.