title: WARN [PhantomJS 1.9.8 (Mac OS X)]: Disconnected (1 times), because no message in 10000 ms
body: <p>My project is ionic-angularjs-requirejs
  <br/>My environment is Mac OS X 10.10.1, node v0.10.30</p>
  
  <p>I'd like to integrate karma test to my project but this is error when I run <code>grunt test</code>:</p>
  
  <p><strong>Result:</strong></p>
  
  <pre><code>Running "karma:unit" (karma) task
  
  INFO [karma]: Karma v0.12.28 server started at http://localhost:9876/
  INFO [launcher]: Starting browser PhantomJS
  INFO [PhantomJS 1.9.8 (Mac OS X)]: Connected on socket UhgMIttDejE4Xdm8I7mG with id 52208731
  WARN [PhantomJS 1.9.8 (Mac OS X)]: Disconnected (1 times), because no message in 10000 ms.
  
  Warning: Task "karma:unit" failed. Use --force to continue.
  
  Aborted due to warnings.
  </code></pre>
  
  <p><br/><strong>Here is dependencies in my package.json:</strong></p>
  
  <pre><code>"grunt-bower-requirejs": "^1.1.1",
  "grunt-contrib-uglify": "^0.2.7",
  "grunt-karma": "^0.9.0",
  "karma": "^0.12.28",
  "karma-jasmine": "^0.3.2",
  "karma-phantomjs-launcher": "^0.1.4",
  "karma-requirejs": "^0.2.2",
  "requirejs": "^2.1.15"
  </code></pre>
  
  <p><strong>Here is my Gruntfile.js:</strong></p>
  
  <pre><code>module.exports = function (grunt) {
  
  grunt.initConfig({
      pkg: grunt.file.readJSON('package.json'),
      bower: {
          target: {
              rjsConfig: 'js/main.js'
          }
      },
      uglify: {
          options: {
              banner: '/*! &lt;%= pkg.name %&gt; &lt;%= grunt.template.today("yyyy-mm-dd") %&gt; */\n'
          },
          build: {
              src: 'src/&lt;%= pkg.name %&gt;.js',
              dest: 'build/&lt;%= pkg.name %&gt;.min.js'
          },
      },
      karma: {
          unit: {
              options: {
                  frameworks: ['jasmine', 'requirejs'],
                  browsers: ['PhantomJS'],
                  autoWatch: true,
                  singleRun: true,
                  files: [
                      'lib/js/generated/angular/angular.js',
                      'lib/js/generated/angular-mocks/angular-mocks.js',
                      //'js/**/*.js',
                      //'templates/**/*.html',
                      'tests/*.tests.js'
                  ],
                  exclude: [
                      'js/main.js'
                  ]
              }
          }
      }
  });
  
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-bower-requirejs');
  grunt.loadNpmTasks('grunt-karma');
  
  // Tell Grunt what to do when we type "grunt" into the terminal
  grunt.registerTask('default', [
      'uglify',
      'bower'
  ]);
  grunt.registerTask('test', [
      'karma'
  ]);
  </code></pre>
  
  <p>};</p>