{"name":"supervisor","version":"0.3.2","description":"A supervisor program for running nodejs programs","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me"},"contributors":[{"name":"Brian Ehmann","email":"behmann@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":"Corey Jewett","email":"cj@syntheticplayground.com"}],"main":"lib/supervisor.js","bin":{"node-supervisor":"lib/cli-wrapper.js","supervisor":"lib/cli-wrapper.js"},"engines":{"node":"~0.3.7 || 0.4 || 0.5 || 0.6 || 0.7"},"preferGlobal":true,"_npmUser":{"name":"iangreenleaf","email":"ian.greenleaf@gmail.com"},"_id":"supervisor@0.3.2","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.14","_defaultsLoaded":true,"dist":{"shasum":"b431e720cbe27d59c0251548826735d39389f027","tarball":"http://registry-npm.ywwl.com/supervisor/download/supervisor-0.3.2.tgz","integrity":"sha512-nzFQM8bB7x7ypAsNj3kCIYdcpFPJ9J9t2RV2DzmDCd7eKqNYjRFMA8hksniBOK9fOubw8DD1DkWoURGMcexZOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDK/IugQRwEWv/fORQ6+waR20/EwonLO3qtMEaZRQzdggIgVUTk5NGqvQJYRAIgkOegY9L9wmTVAZ4TYbGVn4vSVm4="}],"size":3878,"noattachment":false,"key":"/supervisor/-/supervisor-0.3.2.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":1337801379261,"_cnpm_publish_time":1337801379261,"dist-tags":{"latest":"0.12.0"}}