grunt watch hangs on karma:unit:run task
See original GitHub issueHi,
I have this issue every time I update a js file, for example a Ctrl. But runnig “grunt delta” and “karma start karma/karma-unit.js”, in two different console, it’s works well.
This the output after an hangs:
Running "clean:0" (clean) task
Cleaning "dist"...OK
Running "html2js:app" (html2js) task
Running "html2js:component" (html2js) task
Running "jshint:src" (jshint) task
>> 16 files lint free.
Running "jshint:test" (jshint) task
>> 4 files lint free.
Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.
Running "jshint:globals" (jshint) task
>> 0 files lint free.
Running "karma:continuous" (karma) task
INFO [karma]: Karma server started at http://localhost:9018/
INFO [launcher]: Starting browser Firefox
INFO [Firefox 20.0 (Linux)]: Connected on socket id Znh0ouyJ14JFR2s9d17s
......
Firefox 20.0 (Linux): Executed 6 of 6 SUCCESS (0.434 secs / 0.039 secs)
Running "concat:dist" (concat) task
File "dist/assets/clean-power-circle.js" created.
Running "concat:libs" (concat) task
File "dist/assets/libs.js" created.
Running "ngmin:dist" (ngmin) task
ngminifying dist/assets/clean-power-circle.js
Running "uglify:dist" (uglify) task
File "dist/assets/clean-power-circle.min.js" created.
Running "recess:build" (recess) task
File "dist/assets/clean-power-circle.css" created.
Uncompressed size: 150906 bytes.
Compressed size: 17191 bytes gzipped (125053 bytes minified).
Running "index" task
Running "copy:assets" (copy) task
Created 3 directories, copied 8 files
Running "copy:bin" (copy) task
Created 1 directories, copied 1 files
Running "karma:unit" (karma) task
Running "delta" task
Waiting...OK
>> File "src/app/membership/membership.js" changed.
Running "jshint:src" (jshint) task
>> 16 files lint free.
Running "karma:unit:run" (karma) task
Issue Analytics
- State:
- Created 10 years ago
- Comments:42 (8 by maintainers)
Top Results From Across the Web
grunt watch hangs on karma:unit:run task · Issue #37 - GitHub
Hi, I have this issue every time I update a js file, for example a Ctrl. But runnig "grunt delta" and "karma start...
Read more >Developers - grunt watch hangs on karma:unit:run task -
grunt watch hangs on karma:unit:run task ... Hi,. I have this issue every time I update a js file, for example a Ctrl....
Read more >grunt hang on Running "delta" task - node.js - Stack Overflow
"Waiting..." usually means the server is up and running... But I see right now watching your Gruntfile that the message "Started connect web ......
Read more >Visual Studio Hangs when attempting to run a grunt watch ...
I am working with a legacy codebase that uses some grunt tasks. I had previously opened the visual studio solution and the task...
Read more >Getting started with Grunt.js - Semaphore Tutorial
Watch task runs a unique set of tasks when the file has been saved. We first need to configure watch , then run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like this combo has no issues:
For everyone still trying to get a project to run including karma and grunt these sets of dependencies worked for me as well. The same for this (more recent) comment: grunt-karma/issues/212