title: Grunt-string-replace not working
body: <p>I have an <code>app</code> folder where I want to replace <code>http://localhost:8000</code> for <code>http://fomoapp-melbourne.rhcloud.com</code> in two files: <code>companies-list.component.ts</code> and <code>events-list.component.ts</code>. I am trying to use <code>grunt-replace-string</code> plugin and it seemingly runs successfully with green <code>Done</code> result and no errors, but no replacement happens. </p>
  
  <p>Here is how <code>Gruntfile.js</code> looks like:</p>
  
  <pre><code>module.exports = function(grunt){
  
  [
      'grunt-string-replace',
  ].forEach(function(task){
      grunt.loadNpmTasks(task);
  });
  
  // configure plugins
  grunt.initConfig({
      'string-replace': {
        dist: {
          files: {
            './app/': ['companies-list.component.ts','events-list.component.ts'],
          },
          options: {
            replacements: [{
              pattern: 'http://localhost:8000',
              replacement: 'http://fomoapp-melbourne.rhcloud.com',
            }]
          }
        }
      },
  });
  
  // register tasks
      grunt.registerTask('default', ['string-replace']);
  };
  </code></pre>