title: How to make grunt watch and grunt nodemon work together
body: <p>I have a web app in node.js that I want to start with nodemon, so everytime the main script changes, the webapp can start again.
  At the same time, I have my coffeescript files that I need to recompile everytime any of them changes.
  I've set up a grunt-contrib-watch task to listen just for <code>app/frontend/*.coffee</code> files, to dispatch the coffee parser.
  However, this doesn't seem to be hapenning, since the nodemon task is also listening.
  I set up <code>app/frontend/</code> folder in nodemon ignore.
  I also set up nodemon and watch as concurrent.
  Still, everytime I edit a coffee script, the coffee task is not bein executed.</p>
  
  <p>This is my Gruntfile</p>
  
  <pre><code>module.exports = function(grunt) {
  
    // Project configuration.
    grunt.initConfig({
      concurrent: {
          dev: [
              'nodemon',
              'watch'
          ],
          options: {
              logConcurrentOutput: true
          }
      },
      coffee: {
        compile: {
          files: {
            'app/public/app.js': ['app/frontend/*.coffee']
          }
        }
      },
      nodemon: {
        dev: {
          script: 'app/index.js',
          options: {
            ignore: ['app/frontend/**', 'app/public/**']
          }
        }
      },
      watch: {
        scripts: {
          files: 'app/frontend/*.coffee',
          tasks: ['coffee'],
          options: {
            spawn: false
          }
        }
      }
    });
  
    grunt.loadNpmTasks('grunt-concurrent');
    grunt.loadNpmTasks('grunt-contrib-coffee');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-nodemon');
  
    // Default task(s).
    grunt.registerTask('default', ['coffee', 'nodemon', 'watch']);
  
  };
  </code></pre>