diff --git a/tasks/nodemon.js b/tasks/nodemon.js
index <HASH>..<HASH> 100644
--- a/tasks/nodemon.js
+++ b/tasks/nodemon.js
@@ -12,7 +12,7 @@ module.exports = function (grunt) {
 
     var options = this.options();
     var done = this.async();
-    var args = [__dirname + '/../node_modules/nodemon/nodemon'];
+    var args = [require.resolve('nodemon')];
     var nodemonignoreMessage = '# Generated by grunt-nodemon';
 
     if (options.nodeArgs) {
@@ -101,13 +101,7 @@ module.exports = function (grunt) {
     },
     function (error) {
       if (error) {
-        grunt.fail.fatal('nodemon must be installed as a local dependency of grunt-nodemon.\n\n' +
-
-                         'Run the following command:\n' +
-                         'rm -rf node_modules/nodemon\n\n' +
-
-                         'Then run:\n' +
-                         'npm install grunt-nodemon --save-dev');
+        grunt.fail.fatal(error);
       }
       done();
     });
Use require.resolve to determine nodemon location instead of hard-coding