{"name":"supervisor","version":"0.5.2","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":"Giannis Dzegoutanis","email":"erasmospunk@gmail.com"},{"name":"Brian Ehmann","email":"behmann@gmail.com"},{"name":"Corey Jewett","email":"cj@syntheticplayground.com"},{"name":"Taka Kojima","email":"taka.kojima@ff0000.com"},{"name":"Aneil Mallavarapu","email":"aneil@blipboard.com"},{"name":"David Murdoch","email":"hello@davidmurdoch.com"},{"name":"Jonathan 'Wolf' Rentzsch","email":"jwr.git@redshed.net"},{"name":"John Roberts","email":"jroberts@logitech.com"},{"name":"Scott Sanders","email":"scott@stonecobra.com"},{"name":"Fernando H. Silva","email":"ferhensil@gmail.com"},{"name":"Kei Son","email":"heyacct@gmail.com"},{"name":"David Taylor","email":"david@zensatellite.com"},{"name":"Antonio Touriño","email":"atourino@gmail.com"},{"name":"Oliver Wong","email":"oliver@owiber.com"},{"name":"Di Wu","email":"dwu@palantir.com"},{"name":"Ian Young","email":"ian.greenleaf@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":"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"},"preferGlobal":true,"_id":"supervisor@0.5.2","dist":{"shasum":"865d5c7d07273beb0904218b0232a642d82565f5","tarball":"http://registry-npm.ywwl.com/supervisor/download/supervisor-0.5.2.tgz","integrity":"sha512-yQEUb9VvW4V/r6FgNyu8EaygAvNlpEyHuOhQcVpJLDWKv0Fu6jfofHx1Pfg/6ana4V/8Cum9GNk09MO7DeT5Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjwoJlwQLCioPrh0PBiirFzwsEVE/2D4zmvNFl6VHwKAIgZjLMaorlhqUADme+v5vOgcNx1DiO0dwWMWciM0xHhUs="}],"size":4973,"noattachment":false,"key":"/supervisor/-/supervisor-0.5.2.tgz"},"_from":".","_npmVersion":"1.2.9","_npmUser":{"name":"iangreenleaf","email":"ian.greenleaf@gmail.com"},"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":1361294247852,"_cnpm_publish_time":1361294247852,"dist-tags":{"latest":"0.12.0"}}