Save a test file to kick off the re-building process
Before rebuild finishes, save again (might need to modify for watch to reload the file - in sublime text you can just save without modifying)
See the following error in the console (and chrome/phantom crashes, rendering the watch:test tasks useless):
ERROR [karma]: [TypeError: Cannot call method 'ele' of null]
TypeError: Cannot call method 'ele' of null
at initliazeXmlForBrowser (/Volumes/workspace/wAnalytics/node_modules/wGulp/node_modules/karma-junit-reporter/index.js:28:42)
at onBrowserStart (/Volumes/workspace/wAnalytics/node_modules/wGulp/node_modules/karma-junit-reporter/index.js:43:5)
at null.<anonymous> (/Volumes/workspace/wAnalytics/node_modules/wGulp/node_modules/karma/lib/events.js:15:22)
at emit (events.js:117:20)
at onStart (/Volumes/workspace/wAnalytics/node_modules/wGulp/node_modules/karma/lib/browser.js:128:13)
at Socket.<anonymous> (/Volumes/workspace/wAnalytics/node_modules/wGulp/node_modules/karma/lib/events.js:15:22)
at Socket.emit [as $emit] (events.js:117:20)
at SocketNamespace.handlePacket (/Volumes/workspace/wAnalytics/node_modules/wGulp/node_modules/karma/node_modules/socket.io/lib/namespace.js:335:22)
at Manager.onClientMessage (/Volumes/workspace/wAnalytics/node_modules/wGulp/node_modules/karma/node_modules/socket.io/lib/manager.js:518:38)
at WebSocket.Transport.onMessage (/Volumes/workspace/wAnalytics/node_modules/wGulp/node_modules/karma/node_modules/socket.io/lib/transport.js:369:20)
[11:33:00] 'watch:test' errored after 1.3 h
[11:33:00] Error in plugin 'gulp-karma'
karma exited with code 1
Version: 0.7.1 Repro:
gulp watch:test
orgulp watch:test -c
Probably a karma bug, but I don't know.