Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ChrisWren/grunt-nodemon
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 988d8d276fdc18710d4a6d890ec21526d54a3fa8
Choose a base ref
...
head repository: ChrisWren/grunt-nodemon
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8785bdaf38033d8834e5d0bfbf822c1a6343d70f
Choose a head ref
  • 10 commits
  • 4 files changed
  • 5 contributors

Commits on Feb 17, 2015

  1. Update README.md

    ChrisWren committed Feb 17, 2015
    Copy the full SHA
    82e9ca2 View commit details

Commits on May 1, 2015

  1. Test on node 0.10 and 0.12

    ChrisWren committed May 1, 2015
    Copy the full SHA
    04e29f4 View commit details

Commits on May 18, 2015

  1. Copy the full SHA
    3b12c32 View commit details

Commits on May 28, 2015

  1. Merge pull request #57 from cbankester/patch-1

    Fixed broken link to Nodemon docs
    ChrisWren committed May 28, 2015
    Copy the full SHA
    31857a5 View commit details

Commits on Aug 18, 2015

  1. Update dependencies

    tanem committed Aug 18, 2015
    Copy the full SHA
    194a7f1 View commit details
  2. Merge pull request #62 from tanem/update-dependencies

    Update dependencies
    ChrisWren committed Aug 18, 2015
    Copy the full SHA
    864aae7 View commit details

Commits on Sep 6, 2015

  1. Update README.md

    ChrisWren committed Sep 6, 2015
    Copy the full SHA
    3d206b0 View commit details

Commits on Oct 14, 2015

  1. Updated dependencies to use latest nodemon.

    The older nodemon version pulls in a very old touch dependency. All the tests still pass. the mdlint test doesn't seem to function properly, but the mocha/jshint tests pass.
    samkelleher committed Oct 14, 2015
    Copy the full SHA
    654f911 View commit details

Commits on Dec 1, 2015

  1. Merge pull request #65 from samkelleher/patch-1

    Updated dependencies to use latest nodemon.
    ChrisWren committed Dec 1, 2015
    Copy the full SHA
    65a5cb4 View commit details
  2. release 0.4.1

    Chris Wren committed Dec 1, 2015
    Copy the full SHA
    8785bda View commit details
Showing with 23 additions and 22 deletions.
  1. +1 −2 .travis.yml
  2. +4 −2 README.md
  3. +9 −9 package.json
  4. +9 −9 test/integrationTests.js
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: node_js
node_js:
- "0.11"
- "0.12"
- "0.10"
- "0.8"
before_script:
- npm install -g grunt-cli
notifications:
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Note: This is not actively maintained, please make an issue if you are interested in helping maintain this project.

# grunt-nodemon

> Run [nodemon](https://github.com/remy/nodemon) as a grunt task for easy configuration and integration with the rest of your workflow
@@ -168,7 +170,7 @@ String with comma separated file extensions to watch. By default, nodemon watche
#### watch
Type: `Array` of `Strings` Default: `['.']`

List of additional folders to watch for changes.
List of folders to watch for changes. By default nodemon will traverse sub-directories, so there's no need in explicitly including sub-directories.

#### delay
Type: `Number` Default: `1000`
@@ -178,7 +180,7 @@ Delay the restart of nodemon by a number of milliseconds when compiling a large
#### legacyWatch
Type: `Boolean` Default: `false`

If you wish to force nodemon to start with the legacy watch method. See <https://github.com/remy/nodemon#help-my-changes-arent-being-detected> for more details.
If you wish to force nodemon to start with the legacy watch method. See <https://github.com/remy/nodemon/blob/master/faq.md#help-my-changes-arent-being-detected> for more details.

#### cwd
Type: `String`
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grunt-nodemon",
"version": "0.4.0",
"version": "0.4.1",
"description": "Grunt task to run a nodemon monitor of your node.js server",
"main": "test/fixtures/server.js",
"scripts": {
@@ -21,15 +21,15 @@
"grunt": "~0.4.1"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-simple-mocha": "~0.4.0",
"should": "~1.2.2",
"grunt-release": "~0.5.1",
"grunt-contrib-jshint": "~0.6.2",
"matchdep": "~0.1.2",
"grunt-mdlint": "0.0.0"
"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.11.3",
"grunt-mdlint": "0.0.1",
"grunt-release": "^0.13.0",
"grunt-simple-mocha": "^0.4.0",
"matchdep": "^1.0.0",
"should": "^7.1.0"
},
"dependencies": {
"nodemon": "~1.3.0"
"nodemon": "^1.7.1"
}
}
18 changes: 9 additions & 9 deletions test/integrationTests.js
Original file line number Diff line number Diff line change
@@ -25,35 +25,35 @@ describe('grunt-nodemon', function () {
});

it('should set arguments to the app correctly', function() {
logOutput.should.include('production');
logOutput.should.containEql('production');
});

it('should set node arguments correctly', function() {
logOutput.should.include('debug');
logOutput.should.containEql('debug');
});

it('should set the ignored files correctly', function() {
logOutput.should.include('README.md');
logOutput.should.containEql('README.md');
});

it('should set the watched extensions correctly', function() {
logOutput.should.include('tasks');
logOutput.should.containEql('tasks');
});

it('should set the delay time correctly', function() {
logOutput.should.include('1000');
logOutput.should.containEql('1000');
});

it('should set the legacy watch correctly', function() {
logOutput.should.include('legacyWatch: true');
logOutput.should.containEql('legacyWatch: true');
});

it('should set environment variables correctly', function() {
logOutput.should.include('Port: 8181');
logOutput.should.containEql('Port: 8181');
});

it('should set the callback correctly', function() {
logOutput.should.include('custom logging');
logOutput.should.containEql('custom logging');
});
});

@@ -64,7 +64,7 @@ describe('grunt-nodemon', function () {
});

it('should log nodemon output', function() {
logOutput.should.include('debug');
logOutput.should.containEql('debug');
});
});
});