lovelier

A Love2D live-reloader with Moonscript support

Usage no npm install needed!

<script type="module">
  import lovelier from 'https://cdn.skypack.dev/lovelier';
</script>

README

Lovelier

forthebadge

A Love2D reloader with Moonscript support.

Dependencies

Installation

gt; npm install -g lovelier

Usage

gt; lovelier --help

Usage: lovelier [options] [command]

Options:
  -V, --version  output the version number
  -m, --moon     use moonscript
  -b, --bin      love binary path
  -h, --help     output usage information

Commands:
  dev <folder>   run the game in development mode

Running your Love2D Project

gt; cd myProject
gt; lovelier dev .

With Moonscript

gt; cd myProject
gt; lovelier --moon dev .

With a specific Love2D path

gt; cd myProject
gt; lovelier --bin /usr/local/bin/love dev .

Patform notes

OSX

Running love can trigger a unidentified developer error, which can be solved by allowing love in the System Preferences