node-supervisor icon indicating copy to clipboard operation
node-supervisor copied to clipboard

.supervisorconfig

Open iangreenleaf opened this issue 11 years ago • 8 comments

I'd like to have a persistent config file. This should help the people who want a certain options always set a certain way, or who want to specify files to ignore, etc. Plus having the option of checking it into source control is nice.

I think the least confusing format will be just standard CLI arguments, like so:

--ignore src,vendor
-x nodespecial
--debug

Questions I'm pondering:

  • We'll look for this file in the current working directory. Should we also look in home? Or look in every parent directory of CWD?
    • If two files exist, do we use the nearest? Or combine them with the nearest taking precedence?

See #48, #84.

iangreenleaf avatar Aug 23 '13 19:08 iangreenleaf

+1

arxpoetica avatar Aug 25 '13 16:08 arxpoetica

+1

antsav avatar Mar 07 '14 22:03 antsav

+1. i find i have to manually tell it to watch .json files which is kind of annoying having to remember the command line args everytime i start it.

ralyodio avatar Apr 10 '14 20:04 ralyodio

+1

niftylettuce avatar Jun 16 '14 22:06 niftylettuce

+1, it will be really useful.

wuct avatar Aug 18 '14 13:08 wuct

Yes! +!

tomdeboer avatar Aug 25 '14 13:08 tomdeboer

It would be nice for supervisor to catch up to nodemon in this respect.

djensen47 avatar Jun 29 '16 20:06 djensen47

What about passing a config file; kind of like supervisor -c supervisor.json ?

Edit: on that, it's nice how composer has composer.local.json (not stored in git) and composer.json (stored in git) so you can have overrides just for one instance.

DarkAxi0m avatar May 10 '17 01:05 DarkAxi0m