lua-users home
lua-l archive

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

I've been personally using this project for quite some time now, it speed up my development time with Lua and even C/C++ projects a lot. Typically I have a terminal and a editor always showing on my screen, whenever I do a change in the source code I can instantly see the result. I wanted to share here as it may be useful and save time for others.

Em qui., 6 de fev. de 2020 às 15:29, Eduardo Bart <> escreveu:

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.

  • Automatic restarting of application.

  • Default for lua, but easy to run any executable (such as python, make, etc).

  • Ignoring specific files or directories.

  • Watch specific directories.

  • Works with server applications or one time run utilities and REPLs.


Install using LuaRocks:

luarocks install luamon
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.


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


Report on the project page at