{
  "name": "grunt-develop",
  "description": "Run a Node.js application for development, with support for auto-reload.",
  "version": "0.2.2",
  "homepage": "https://github.com/edwardhotchkiss/grunt-develop",
  "author": {
    "name": "Edward Hotchkiss",
    "email": "edwardhotchkiss@me.com"
  },
  "contributors": [
    {
      "name": "Edward Hotchkiss",
      "email": "edwardhotchkiss@me.com"
    },
    {
      "name": "Oliver Joseph Ash",
      "email": "oliverjash@icloud.com"
    },
    {
      "name": "Jean Lauliac",
      "email": "jean@lauliac.com"
    },
    {
      "name": "Cagdas Bayram",
      "email": "cagdasb@gmail.com"
    },
    {
      "name": "Adam Draper",
      "email": "https://github.com/adamwdraper"
    }
  ],
  "repository": {
    "type": "git",
    "url": "git://github.com/edwardhotchkiss/node-develop.git"
  },
  "engines": {
    "node": ">= 0.8.0"
  },
  "dependencies": {},
  "devDependencies": {
    "grunt": ">=0.4.0",
    "grunt-contrib-jshint": ">=0.2.0",
    "grunt-contrib-nodeunit": ">=0.1.2"
  },
  "peerDependencies": {
    "grunt": ">=0.4.0"
  },
  "scripts": {
    "test": "grunt nodeunit"
  },
  "keywords": [
    "grunt",
    "node",
    "server",
    "development",
    "gruntplugin",
    "express"
  ],
  "readme": "\n# grunt-develop [![Build Status](https://secure.travis-ci.org/edwardhotchkiss/grunt-develop.png)](http://travis-ci.org/edwardhotchkiss/grunt-develop)\n\n> Run a Node.js application for development, with support for auto-reload.\n\n## Notes:\n\n  * Requires Grunt >= 0.4.0;\n  * does not provide a file-watch, [grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch)\n    is helpful here;\n  * no need to modify/export your server or alter your applications code;\n  * is not blocking (the task completes immediately and the application will\n    run in the background);\n  * reloads cleanly the application when the task is called again,\n    allowing for auto-reload.\n\n## Install\n\n```bash\n$ npm install grunt-develop\n```\n\n## Basic Gruntfile.js Example\n\n```javascript\nmodule.exports = function(grunt) {\n\n  grunt.initConfig({\n    develop: {\n      server: {\n        file: 'app.js',\n        nodeArgs: ['--debug'],            // optional\n        args: ['appArg1', 'appArg2']      // optional\n        env: { NODE_ENV: 'development'}      // optional\n      }\n    }\n  });\n\n  grunt.loadNpmTasks('grunt-develop');\n\n  grunt.registerTask('default', ['develop']);\n\n};\n```\n\n## Coffeescript App Example\n\nYou may also have develop automatically restart coffeescript based node\napplications by using the `cmd` option.  This option allows the user to\nspecify which command/executable to use when restarting the server.\n\n```coffeescript\nmodule.exports = (grunt) ->\n\n  grunt.initConfig\n    develop:\n      server:\n        file: 'app.coffee'\n        cmd: 'coffee'\n\n  grunt.loadNpmTasks 'grunt-develop'\n\n  grunt.registerTask 'default', ['develop']\n```\n\n## A more complex Gruntfile.js\n\n To support auto-reload on changes, for example:\n\n```javascript\nmodule.exports = function(grunt) {\n\n  grunt.initConfig({\n    watch: {\n      js: {\n        files: [\n          'app.js',\n          'routes/**/*.js',\n          'lib/*.js'\n        ],\n        tasks: ['develop'],\n        options: { nospawn: true }\n      }\n    },\n    develop: {\n      server: {\n        file: 'app.js'\n      }\n    }\n  });\n\n  grunt.loadNpmTasks('grunt-contrib-watch');\n  grunt.loadNpmTasks('grunt-develop');\n\n  grunt.registerTask('default', ['develop']);\n\n};\n```\n\nThe [nospawn](https://github.com/gruntjs/grunt-contrib-watch/blob/master/README.md#optionsnospawn)\nis required to keep the grunt context in which `grunt-develop` is running\nyour application.\n\nThen you can run grunt as the following and get automatic restart of the\napplication on file changes:\n\n```bash\n$ grunt\n```\n\nYou may add any other task in the watch, like JS linting, asset compiling,\netc. and customize the watch to your needs. See\n[grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch).\n\n## License (MIT)\n\nCopyright (c) 2013, Edward Hotchkiss.\n\n## Author: [Edward Hotchkiss][0]\n\n[0]: http://github.com/edwardhotchkiss/\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/edwardhotchkiss/grunt-develop/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/edwardhotchkiss/node-develop/issues"
  },
  "_id": "grunt-develop@0.2.2",
  "_from": "grunt-develop@~0.2.2"
}
