From 3eadd03542d959189e67293fbd82e73e0cd31f5f Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 21:18:14 +0800 Subject: [PATCH] Update announcement.gemspec --- announcement.gemspec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/announcement.gemspec b/announcement.gemspec index 5b898bd..b845892 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -59,9 +59,7 @@ if old_gemfile_text != new_gemfile_text a.priority = 2 sleep 2 a.run - system("watch -n 10 screen -d -m -S auto_reopen bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode}") - Thread.kill(Thread.current) - puts '123' + exec("watch -n 10 screen -d -m -S auto_reopen bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode}") #Thread.exit end # Describe your gem and declare its dependencies: