{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular/issues/2136","labels_url":"https://api.github.com/repos/angular/angular/issues/2136/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/2136/comments","events_url":"https://api.github.com/repos/angular/angular/issues/2136/events","html_url":"https://github.com/angular/angular/issues/2136","id":79883740,"number":2136,"title":"gulp test.unit.cjs only executes once","user":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/%23development_infrastructure","name":"#development_infrastructure","color":"fbca04"},{"url":"https://api.github.com/repos/angular/angular/labels/%23dev_experience","name":"#dev_experience","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars.githubusercontent.com/u/216296?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/33","html_url":"https://github.com/angular/angular/milestones/Build%20System","labels_url":"https://api.github.com/repos/angular/angular/milestones/33/labels","id":1109241,"number":33,"title":"Build System","description":null,"creator":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":4,"state":"open","created_at":"2015-05-13T20:34:07Z","updated_at":"2015-05-23T16:02:40Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-05-23T16:02:40Z","updated_at":"2015-05-23T16:02:40Z","closed_at":null,"body":"Upon executing `gulp.test.cjs`:\r\n\r\n```\r\n08:58 $ gulp test.unit.cjs\r\nDart SDK is not available, Dart tasks will be skipped.\r\n[08:58:52] Using gulpfile ~/angular/gulpfile.js\r\n[08:58:52] Starting 'build/clean.js'...\r\n[08:58:52] Starting 'build/clean.tools'...\r\n[08:58:52] Finished 'build/clean.tools' after 1.05 ms\r\n[08:58:52] Starting 'build.tools'...\r\n[08:58:52] Starting '!build.tools'...\r\n[08:58:53] Finished 'build/clean.js' after 309 ms\r\n[08:58:56] Finished '!build.tools' after 3.79 s\r\n[08:58:56] Finished 'build.tools' after 3.79 s\r\n[08:58:56] Starting 'test.unit.cjs'...\r\n[08:58:56] Starting '!build.js.cjs'...\r\nTree diff:          funnel-output_path-Rl8ckYlX.tmp, duration:    18ms,   167 changes detected (files:   167, directories:  169)\r\nTree diff:                   funnel-dest_FkEYvI.tmp, duration:    17ms,   173 changes detected (files:   173, directories:  169)\r\nTree diff:                   funnel-dest_4cmvb4.tmp, duration:    34ms,   886 changes detected (files:   886, directories:   87)\r\n\r\nSlowest Trees                                 | Total               \r\n----------------------------------------------+---------------------\r\nDiffingTSCompiler                             | 5152ms              \r\nDiffingTraceurCompiler                        | 3848ms              \r\n\r\nSlowest Trees (cumulative)                    | Total (avg)         \r\n----------------------------------------------+---------------------\r\nDiffingTSCompiler (1)                         | 5152ms              \r\nDiffingTraceurCompiler (1)                    | 3848ms              \r\n\r\ncreating node_modules symlink hack\r\ncreating link dist/js/cjs/node_modules/angular2 ../angular2\r\ncreating link dist/js/cjs/node_modules/benchmarks ../benchmarks\r\ncreating link dist/js/cjs/node_modules/benchmarks_external ../benchmarks_external\r\ncreating link dist/js/cjs/node_modules/benchpress ../benchpress\r\ncreating link dist/js/cjs/node_modules/examples ../examples\r\ncreating link dist/js/cjs/node_modules/rtts_assert ../rtts_assert\r\n[08:59:06] Finished '!build.js.cjs' after 9.72 s\r\n[08:59:06] Starting 'test.unit.cjs/ci'...\r\nStarted\r\n..\r\n\r\n\r\n1090 specs, 0 failures\r\nFinished in 0.09 seconds\r\n[08:59:07] Finished 'test.unit.cjs/ci' after 1.27 s\r\n```\r\n\r\nNow change the files to trigger a rerun.\r\n\r\n```\r\n==================================================\r\n WATCH TRIGGERED BY FILE CHANGE #1\r\n On: 5/23/2015 at 8:59:14 AM\r\n==================================================\r\n[08:59:14] Starting '!build.js.cjs'...\r\nTree diff:          funnel-output_path-Rl8ckYlX.tmp, duration:    21ms,     1 changes detected (files:   167, directories:  169) [\r\n  * angular2/test/change_detection/parser/parser_spec.js\r\n]\r\nTree diff:                   funnel-dest_FkEYvI.tmp, duration:    22ms,   173 changes detected (files:   173, directories:  169) [\r\n  * angular2/angular2.ts\r\n  * angular2/annotations.ts\r\n  * angular2/change_detection.ts\r\n  * angular2/core.ts\r\n  * angular2/di.ts\r\n  * angular2/di_annotations.ts\r\n  * angular2/di_errors.ts\r\n  * angular2/directives.ts\r\n  * angular2/forms.ts\r\n  * angular2/pipes.ts\r\n  * angular2/render.ts\r\n  * angular2/src/change_detection/abstract_change_detector.ts\r\n  * angular2/src/change_detection/binding_record.ts\r\n  * angular2/src/change_detection/change_detection.ts\r\n  * angular2/src/change_detection/change_detection_jit_generator.ts\r\n  * angular2/src/change_detection/change_detection_util.ts\r\n  * angular2/src/change_detection/change_detector_ref.ts\r\n  * angular2/src/change_detection/coalesce.ts\r\n  * angular2/src/change_detection/constants.ts\r\n  * angular2/src/change_detection/directive_record.ts\r\n  * angular2/src/change_detection/dynamic_change_detector.ts\r\n  * angular2/src/change_detection/exceptions.ts\r\n  * angular2/src/change_detection/interfaces.ts\r\n  * angular2/src/change_detection/parser/ast.ts\r\n  * angular2/src/change_detection/parser/lexer.ts\r\n  * angular2/src/change_detection/parser/locals.ts\r\n  * angular2/src/change_detection/parser/parser.ts\r\n  * angular2/src/change_detection/pipes/iterable_changes.ts\r\n  * angular2/src/change_detection/pipes/json_pipe.ts\r\n  * angular2/src/change_detection/pipes/keyvalue_changes.ts\r\n  * angular2/src/change_detection/pipes/lowercase_pipe.ts\r\n  * angular2/src/change_detection/pipes/null_pipe.ts\r\n  * angular2/src/change_detection/pipes/observable_pipe.ts\r\n  * angular2/src/change_detection/pipes/pipe.ts\r\n  * angular2/src/change_detection/pipes/pipe_registry.ts\r\n  * angular2/src/change_detection/pipes/promise_pipe.ts\r\n  * angular2/src/change_detection/pipes/uppercase_pipe.ts\r\n  * angular2/src/change_detection/proto_change_detector.ts\r\n  * angular2/src/change_detection/proto_record.ts\r\n  * angular2/src/core/annotations/annotations.ts\r\n  * angular2/src/core/annotations/decorators.ts\r\n  * angular2/src/core/annotations/di.ts\r\n  * angular2/src/core/annotations/view.ts\r\n  * angular2/src/core/annotations/visibility.ts\r\n  * angular2/src/core/annotations_impl/annotations.ts\r\n  * angular2/src/core/annotations_impl/di.ts\r\n  * angular2/src/core/annotations_impl/view.ts\r\n  * angular2/src/core/annotations_impl/visibility.ts\r\n  * angular2/src/core/application.ts\r\n  * angular2/src/core/application_tokens.ts\r\n  * angular2/src/core/compiler/base_query_list.ts\r\n  * angular2/src/core/compiler/compiler.ts\r\n  * angular2/src/core/compiler/component_url_mapper.ts\r\n  * angular2/src/core/compiler/directive_resolver.ts\r\n  * angular2/src/core/compiler/dynamic_component_loader.ts\r\n  * angular2/src/core/compiler/element_binder.ts\r\n  * angular2/src/core/compiler/element_injector.ts\r\n  * angular2/src/core/compiler/element_ref.ts\r\n  * angular2/src/core/compiler/interfaces.ts\r\n  * angular2/src/core/compiler/proto_view_factory.ts\r\n  * angular2/src/core/compiler/query_list.ts\r\n  * angular2/src/core/compiler/template_resolver.ts\r\n  * angular2/src/core/compiler/view.ts\r\n  * angular2/src/core/compiler/view_container_ref.ts\r\n  * angular2/src/core/compiler/view_manager.ts\r\n  * angular2/src/core/compiler/view_manager_utils.ts\r\n  * angular2/src/core/compiler/view_pool.ts\r\n  * angular2/src/core/compiler/view_ref.ts\r\n  * angular2/src/core/exception_handler.ts\r\n  * angular2/src/core/life_cycle/life_cycle.ts\r\n  * angular2/src/core/testability/get_testability.ts\r\n  * angular2/src/core/testability/testability.ts\r\n  * angular2/src/core/zone/ng_zone.ts\r\n  * angular2/src/di/annotations.ts\r\n  * angular2/src/di/annotations_impl.ts\r\n  * angular2/src/di/binding.ts\r\n  * angular2/src/di/decorators.ts\r\n  * angular2/src/di/exceptions.ts\r\n  * angular2/src/di/forward_ref.ts\r\n  * angular2/src/di/injector.ts\r\n  * angular2/src/di/key.ts\r\n  * angular2/src/di/opaque_token.ts\r\n  * angular2/src/di/type_literal.ts\r\n  * angular2/src/directives/class.ts\r\n  * angular2/src/directives/ng_for.ts\r\n  * angular2/src/directives/ng_if.ts\r\n  * angular2/src/directives/ng_non_bindable.ts\r\n  * angular2/src/directives/ng_switch.ts\r\n  * angular2/src/dom/browser_adapter.ts\r\n  * angular2/src/dom/dom_adapter.ts\r\n  * angular2/src/dom/generic_browser_adapter.ts\r\n  * angular2/src/facade/async.ts\r\n  * angular2/src/facade/browser.ts\r\n  * angular2/src/facade/collection.ts\r\n  * angular2/src/facade/lang.ts\r\n  * angular2/src/facade/math.ts\r\n  * angular2/src/forms/directives.ts\r\n  * angular2/src/forms/form_builder.ts\r\n  * angular2/src/forms/model.ts\r\n  * angular2/src/forms/validator_directives.ts\r\n  * angular2/src/forms/validators.ts\r\n  * angular2/src/mock/ng_zone_mock.ts\r\n  * angular2/src/mock/template_resolver_mock.ts\r\n  * angular2/src/mock/xhr_mock.ts\r\n  * angular2/src/reflection/reflection.ts\r\n  * angular2/src/reflection/reflection_capabilities.ts\r\n  * angular2/src/reflection/reflector.ts\r\n  * angular2/src/reflection/types.ts\r\n  * angular2/src/render/api.ts\r\n  * angular2/src/render/dom/compiler/compile_control.ts\r\n  * angular2/src/render/dom/compiler/compile_element.ts\r\n  * angular2/src/render/dom/compiler/compile_pipeline.ts\r\n  * angular2/src/render/dom/compiler/compile_step.ts\r\n  * angular2/src/render/dom/compiler/compile_step_factory.ts\r\n  * angular2/src/render/dom/compiler/compiler.ts\r\n  * angular2/src/render/dom/compiler/directive_parser.ts\r\n  * angular2/src/render/dom/compiler/property_binding_parser.ts\r\n  * angular2/src/render/dom/compiler/selector.ts\r\n  * angular2/src/render/dom/compiler/template_loader.ts\r\n  * angular2/src/render/dom/compiler/text_interpolation_parser.ts\r\n  * angular2/src/render/dom/compiler/view_splitter.ts\r\n  * angular2/src/render/dom/convert.ts\r\n  * angular2/src/render/dom/dom_renderer.ts\r\n  * angular2/src/render/dom/events/event_manager.ts\r\n  * angular2/src/render/dom/events/hammer_common.ts\r\n  * angular2/src/render/dom/events/hammer_gestures.ts\r\n  * angular2/src/render/dom/events/key_events.ts\r\n  * angular2/src/render/dom/shadow_dom/content_tag.ts\r\n  * angular2/src/render/dom/shadow_dom/emulated_scoped_shadow_dom_strategy.ts\r\n  * angular2/src/render/dom/shadow_dom/emulated_unscoped_shadow_dom_strategy.ts\r\n  * angular2/src/render/dom/shadow_dom/light_dom.ts\r\n  * angular2/src/render/dom/shadow_dom/native_shadow_dom_strategy.ts\r\n  * angular2/src/render/dom/shadow_dom/shadow_css.ts\r\n  * angular2/src/render/dom/shadow_dom/shadow_dom_compile_step.ts\r\n  * angular2/src/render/dom/shadow_dom/shadow_dom_strategy.ts\r\n  * angular2/src/render/dom/shadow_dom/style_inliner.ts\r\n  * angular2/src/render/dom/shadow_dom/style_url_resolver.ts\r\n  * angular2/src/render/dom/shadow_dom/util.ts\r\n  * angular2/src/render/dom/util.ts\r\n  * angular2/src/render/dom/view/element_binder.ts\r\n  * angular2/src/render/dom/view/property_setter_factory.ts\r\n  * angular2/src/render/dom/view/proto_view.ts\r\n  * angular2/src/render/dom/view/proto_view_builder.ts\r\n  * angular2/src/render/dom/view/view.ts\r\n  * angular2/src/render/dom/view/view_container.ts\r\n  * angular2/src/services/ruler.ts\r\n  * angular2/src/services/title.ts\r\n  * angular2/src/services/url_resolver.ts\r\n  * angular2/src/services/xhr.ts\r\n  * angular2/src/services/xhr_impl.ts\r\n  * angular2/src/test_lib/benchmark_util.ts\r\n  * angular2/src/test_lib/e2e_util.ts\r\n  * angular2/src/test_lib/fake_async.ts\r\n  * angular2/src/test_lib/lang_utils.ts\r\n  * angular2/src/test_lib/test_bed.ts\r\n  * angular2/src/test_lib/test_injector.ts\r\n  * angular2/src/test_lib/test_lib.ts\r\n  * angular2/src/test_lib/utils.ts\r\n  * angular2/src/util/decorators.ts\r\n  * angular2/test/core/compiler/integration_spec.ts\r\n  * angular2/test/di/async_spec.ts\r\n  * angular2/test/di/forward_ref_spec.ts\r\n  * angular2/test/di/injector_spec.ts\r\n  * angular2/test/di/key_spec.ts\r\n  * angular2/test/forms/directives_spec.ts\r\n  * angular2/test/forms/form_builder_spec.ts\r\n  * angular2/test/forms/integration_spec.ts\r\n  * angular2/test/forms/model_spec.ts\r\n  * angular2/test/forms/validators_spec.ts\r\n  * angular2/test/reflection/reflector_common.ts\r\n  * angular2/test/reflection/reflector_spec.ts\r\n  * angular2/test.ts\r\n  * angular2/test_lib.ts\r\n]\r\n```\r\n\r\nTests did not run, and the watcher is now dead."}}