[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Luamon - Live development utility for Lua
- From: Eduardo Bart <edub4rt@...>
- Date: Thu, 6 Feb 2020 15:44:22 -0300
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.
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
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 https://github.com/edubart/luamon