Batch file change notifications to reduce fork/kill spam #35

Closed
grosser opened this Issue Aug 9, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@grosser
Collaborator

grosser commented Aug 9, 2012

I switch branches quiet often and always see things like this:
acceptor is killed/restarted multiple times when it only should be done once (or in this case never since the acceptor has no action associated, but that's another issue...)

Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/application_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/extensions.rb
killing acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/extensions/ar_rails2_compatability.rb
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/scope_extensions.rb
starting acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/application_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/assets_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/mobile_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/rules_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/tabs_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/targets_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/twitter/link_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/user_interface_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/widgets_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/capped_counts.rb
killing acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/extensions/ar_rails2_compatability.rb
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/scope_extensions.rb
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/stats/stat_rollup.rb
Dependency change at /Users/mgrosser/code/zendesk/main/config/environments/test.rb
Dependency change at /Users/mgrosser/code/zendesk/main/test/helpers/base_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/middleware/headers_middleware.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/middleware/middleware_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/ruby_19/utf8_monkey_patches.rb
starting acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/config/application.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/models/account/creation.rb
killing acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/app/models/permission_set.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/models/permission_set/default_roles.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/models/subscription/plan_change_support.rb
Dependency change at /Users/mgrosser/code/zendesk/main/app/helpers/flash_helper.rb
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/extensions/ar_errors.rb
Dependency change at /Users/mgrosser/code/zendesk/main/test/helpers/base_helper.rb
starting acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/extensions.rb
killing acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/extensions/ar_errors.rb
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/tickets/soft_deletion.rb
starting acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/lib/archive.rb
Dependency change at /Users/mgrosser/code/zendesk/main/.zeus.rb
One of zeus's dependencies changed. Not killing zeus. You may have to restart the server.
Dependency change at /Users/mgrosser/code/zendesk/main/config/application.rb
killing acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/lib/test_memory_store.rb
starting acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/auth/warden/callbacks.rb
killing acceptor `testrb`
Dependency change at /Users/mgrosser/code/zendesk/main/lib/zendesk/auth/warden/zendesk_strategy.rb
starting acceptor `testrb
@burke

This comment has been minimized.

Show comment Hide comment
@burke

burke Aug 9, 2012

Owner

Good point. I'll have 0.5.0 batch the file changes.

Owner

burke commented Aug 9, 2012

Good point. I'll have 0.5.0 batch the file changes.

@burke

This comment has been minimized.

Show comment Hide comment
@burke

burke Dec 3, 2012

Owner

Output is now less verbose, and the behaviour alleviates this problem a little bit (but not entirely). Closing for now, may revisit similar issue in the future.

Owner

burke commented Dec 3, 2012

Output is now less verbose, and the behaviour alleviates this problem a little bit (but not entirely). Closing for now, may revisit similar issue in the future.

@burke burke closed this Dec 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment