@vltpkg/gui
v0.0.0-10
Published
Look under the hood of a vlt install in HD
Downloads
225
Keywords
Readme
@vltpkg/gui
The vlt gui for visualizing dependencies in your project.
Documentation
Development
To enable live reload, first set the environment variable
__VLT_INTERNAL_LIVE_RELOAD
:
$ export __VLT_INTERNAL_LIVE_RELOAD=1
To start the esbuild dev server, run the gui watch script:
$ pnpm -F gui watch
In a separate terminal, run the app:
$ ./scripts/bins/vlt gui
Changes to src/gui
will cause open browser windows to reload()
.
Note:
If the esbuild dev server is not running, then requests will fallback to the static asset like normal and message will be logged in the browser.
__VLT_INTERNAL_LIVE_RELOAD
has no effect on production builds. The code is stripped by esbuild from both the GUI and the CLI.
See the contributing guide for more information on how to build and develop the various workspaces.