{"name":"supervisor","version":"0.3.6","description":"A supervisor program for running nodejs programs","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me"},"contributors":[{"name":"Todd Branchflower","email":"toddbran@stanford.edu"},{"name":"Brian Ehmann","email":"behmann@gmail.com"},{"name":"Corey Jewett","email":"cj@syntheticplayground.com"},{"name":"Taka Kojima","email":"taka.kojima@ff0000.com"},{"name":"Jonathan 'Wolf' Rentzsch","email":"jwr.git@redshed.net"},{"name":"Scott Sanders","email":"scott@stonecobra.com"},{"name":"Fernando H. Silva","email":"ferhensil@gmail.com"},{"name":"David Taylor","email":"david@zensatellite.com"},{"name":"Antonio Touriño","email":"atourino@gmail.com"},{"name":"Ian Young","email":"ian.greenleaf@gmail.com"},{"name":"Giannis Dzegoutanis","email":"erasmospunk@gmail.com"},{"name":"jazzzz","email":"jazzzz@gmail.com"},{"name":"rma4ok","email":"rma4ok@gmail.com"}],"repository":{"type":"git","url":"git://github.com/isaacs/node-supervisor.git"},"bugs":{"name":"https://github.com/isaacs/node-supervisor/issues"},"homepage":"https://github.com/isaacs/node-supervisor/","main":"lib/supervisor.js","bin":{"node-supervisor":"lib/cli-wrapper.js","supervisor":"lib/cli-wrapper.js"},"engines":{"node":">=0.3.7 <=0.8"},"preferGlobal":true,"_npmUser":{"name":"iangreenleaf","email":"ian.greenleaf@gmail.com"},"_id":"supervisor@0.3.6","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"7bf912aae085aa585f5564f0349da3f107bae23e","tarball":"http://registry-npm.ywwl.com/supervisor/download/supervisor-0.3.6.tgz","integrity":"sha512-MYjQnxopoBibqbtfXlXXeyx+0bdkti5sCH4i/bFwjw1H7hdPDZ2ZuSqtDP4TX2wrhFyIpe+/uqRLPgrd8Fx/9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlSbaLK+x8j00vEMHQDi0xZBicgZ3iDW40lu9YV1unFAiEAlbGs+WrvRvGuuK5s2ZALkmW52iEwJUhgzOP5EmQ/E30="}],"size":4314,"noattachment":false,"key":"/supervisor/-/supervisor-0.3.6.tgz"},"maintainers":[{"name":"iangreenleaf","email":"ian.greenleaf@gmail.com"}],"directories":{},"readme":"# node-supervisor\n\nA little supervisor script for nodejs. It runs your program, and\nwatches for code changes, so you can have hot-code reloading-ish\nbehavior, without worrying about memory leaks and making sure you\nclean up all the inter-module references, and without a whole new\n`require` system.\n\n## node-supervisor -?\n\n\n    Node Supervisor is used to restart programs when they crash.\n    It can also be used to restart programs when a *.js file changes.\n\n    Usage:\n      supervisor [options] <program>\n      supervisor [options] -- <program> [args ...]\n\n    Required:\n      <program>\n        The program to run.\n\n    Options:\n      -w|--watch <watchItems>\n        A comma-delimited list of folders or js files to watch for changes.\n        When a change to a js file occurs, reload the program\n        Default is '.'\n\n      -i|--ignore <ignoreItems>\n        A comma-delimited list of folders to ignore for changes.\n        No default\n\n      --ignore-symlinks\n        Ignore symlinks :)\n        \n      -s|--timestamp\n        Log timestamp after each run.\n        Make it easy to tell when the task last ran.\n        \n      -p|--poll-interval <milliseconds>\n        How often to poll watched files for changes.\n        Defaults to Node default.\n\n      -e|--extensions <extensions>\n        A comma-delimited list of file extensions to watch for changes.\n        Default is 'node,js' (or when CoffeeScript, 'node,js,coffee,litcoffee').\n\n      -x|--exec <executable>\n        The executable that runs the specified program.\n        Default is 'node'\n\n      -pid|--save-pid <path>\n        Save supervisor's process id to a file at the given path.\n\n      --debug[=port]\n        Start node with --debug flag.\n\n      --debug-brk[=port]\n        Start node with --debug-brk flag.\n\n      --harmony\n        Start node with --harmony flag.\n\n      --inspect\n        Start node with --inspect flag.\n\n      -n|--no-restart-on error|exit|success\n        Don't automatically restart the supervised program if it ends.\n        Supervisor will wait for a change in the source files.\n        If \"error\", an exit code of 0 will still restart.\n        If \"exit\", no restart regardless of exit code.\n        If \"success\", no restart only if exit code is 0.\n\n    -t|--non-interactive\n        Dissable interactive capacity\n        With this option, supervisor won't listen to stdin\n\n      --force-watch\n        Use fs.watch instead of fs.watchFile.\n        This may be useful if you see a high cpu load on a windows machine.\n\n\t  -k|--instant-kill\n\t    Instantly kills the server process, instead of gracefully shutting down the server.\n\t\tThis can be useful when the node app has events attached to SIGTERM or SIGINT so as to do a graceful shutdown before the process exits.\n\t\t\n     -RV|--restart-verbose\n        Logs the file(s) that caused supervisor to restart\n\n      -h|--help|-?\n        Display these usage instructions.\n\n      -q|--quiet\n        Suppress DEBUG messages\n\n\n    Options available after start:\n      rs - restart process. Useful when you want to restart your program even\n           if no file has changed.\n\n\n    Examples:\n      supervisor myapp.js\n      supervisor myapp.coffee\n      supervisor -w scripts -e myext -x myrunner myapp\n      supervisor -w lib,server.js,config.js server.js\n      supervisor -- server.js -h host -p port\n\n\nIn order to not watch for file changes, use \"-i .\".\n\n## Simple Install\n\nJust run:\n\n    npm install supervisor -g\n\n## Fancy Install\n\nGet this code, and then do this:\n\n    npm link\n","publish_time":1340739153941,"_cnpm_publish_time":1340739153941,"dist-tags":{"latest":"0.12.0"}}