INACTIVE - A command-line tool for installing and automating the Firefox Reality virtual-reality browser.
Mozilla Public License 2.0
4
stars
3
forks
source link
serve local Node server in `launch` for projects on user's local filesystem #5
Closed
cvan closed 2 months ago
currently, only URLs are allowed. we should also support spawning a local server if a local file path is passed as the URL/path.
example usage:
fxr launch ~/Projects/my-webvr-demo/
fxr launch --url=~/Projects/my-webvr-demo/
fxr launch --path=~/Projects/my-webvr-demo/
fxr dev ~/Projects/my-webvr-demo/
fxr dev --url=~/Projects/my-webvr-demo/
fxr dev --path=~/Projects/my-webvr-demo/
fxr dev
(then prompt for path)this should help a ton with local development.
npm i --save live-server live-server-https
then add something like this to
commands/launch.js
: