Watch Mode

Browse docs

When working on a project, sometimes you want to see your changes apply instantly without having to lde run again.

watch

You can use lde run --watch to re-run your package automatically whenever any file in your source directory changes.

Usage

lde run --watch

You can also pass a script name or file path:

lde run --watch myscript
lde run --watch -- script args here

This also works with running files, of course:

lde run --watch myscript.lua