{"name":"supervisor","version":"0.1.1","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"}],"main":"lib/supervisor.js","bin":{"node-supervisor":"lib/cli-wrapper.js","supervisor":"lib/cli-wrapper.js"},"engines":{"node":"~0.2.3 || 0.3 || 0.4 || 0.5"},"_id":"supervisor@0.1.1","_engineSupported":true,"_npmVersion":"0.3.14","_nodeVersion":"v0.4.2","directories":{"lib":"./lib"},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"eb37bdf803073a9605b711ed5887286622b7a848","tarball":"http://registry-npm.ywwl.com/supervisor/download/supervisor-0.1.1.tgz","integrity":"sha512-u27XM8IYjXZrf3DOF/c+TvX4KnznrsOuZ52TYlH6eaQ+9Dg0WDhsqsQXdqKHPOg1FC5LEndw3/xN+WB/Xsok+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDN9dBeDkJzWIS9Sq/VFYSh97mCEwASmsbBARXXdXh/vwIfAO/M9GuDA40Z/gvA7DTov54VxqsrbsOvq1LYVzL4UA=="}],"size":3110,"noattachment":false,"key":"/supervisor/-/supervisor-0.1.1.tgz"},"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":1299568472412,"maintainers":[{"email":"petru.isfan@gmail.com","name":"petruisfan"},{"email":"i@izs.me","name":"isaacs"},{"email":"ian.greenleaf@gmail.com","name":"iangreenleaf"}],"_cnpm_publish_time":1299568472412,"dist-tags":{"latest":"0.12.0"}}