reaganmcf / lightmon

A lightweight, cross-platform, language-agnostic "run code on file change" tool, inspired by Nodemon
GNU General Public License v3.0
15 stars 2 forks source link

Parse nodemon.json config files #3

Open reaganmcf opened 3 years ago

reaganmcf commented 3 years ago

If a nodemon.json is present in the current directory, parse nodemon's config file (nodemon.json) into lightmon's equivalent arguments. This would enable lightmon to be a 0 friction drag-and-drop replacement to nodemon for users that have nodemon configurations.

We would need to ensure that we have some sort of equivalent for every command line option they have, which might not be what we want to do. Should definitely look more into this to see if it's something we actually want to do, but the benefits seem to usability seem tremendous!

alayshahh commented 3 years ago

would we want to implement this the same way we want to implement the automatic lang detection? Check if nodemon.json exists if no args are given?