This is an automated email from the ASF dual-hosted git repository. rubys pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/whimsy.git
commit 869d2f907754eb78a57a90a7324408b33b3578f5 Author: Sam Ruby <[email protected]> AuthorDate: Wed Jun 7 13:00:03 2017 -0400 restart on change to script --- tools/pubsub.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/pubsub.rb b/tools/pubsub.rb index cad6038..ef70ffa 100644 --- a/tools/pubsub.rb +++ b/tools/pubsub.rb @@ -156,6 +156,7 @@ end project = File.basename(options.remote, '.git') begin + mtime = File.mtime(__FILE__) while ps_thread.alive? notification = notification_queue.pop next unless notification['commit']['project'] == project @@ -169,6 +170,7 @@ begin system 'rake update' end end + next if mtime != File.mtime(__FILE__) end rescue SignalException => e STDERR.puts e -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
