lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Luamon is a utility for quick live development in Lua. It will monitor for any changes in your source and automatically restart your Lua script or application. It works by watching for file and directories changes using the Inotify API. It was inspirited by nodemon, but made for Lua.

https://github.com/edubart/luamon

Features
Installation

Install using LuaRocks:

luarocks install luamon
Usage
luamon myscript.lua

Just use luamon instead of lua to run your code, your process will automatically restart when any lua file in the current directory changes. It's possible to use it for any other kind of application too, see its help.

Limitations

The packages depends on POSIX and Inotify APIs so it works only on systems that supports them, such as Linux.

Issues

Report on the project page at https://github.com/edubart/luamon