A live-reloading server for rapid prototyping of LÖVR WebVR projects.
Clone the repo, and then grab the submodules:
git clone git@github.com:bjornbytes/lovr-webvr-server.git
git submodule update --init
Also make sure you have Python 2 installed and available in your PATH.
Run the server by passing a path to a LÖVR project:
node . path/to/project
A browser will be opened with the project, and will automatically reload whenever a Lua file is changed.
--port <port>
The port to use for the web server. The default is 8080.--open
,--no-open
Whether or not a browser window should be opened on startup.--lovr <path>
A path to a folder that containslovr.js
andlovr.wasm
, or a URL to use as the base path. The default ishttps://lovr.org/static/js
. This lets you use different versions or builds of LÖVR.
MIT, see LICENSE
for details.