lib/negroku/capistrano/tasks/env.rake in negroku-2.8.0 vs lib/negroku/capistrano/tasks/env.rake in negroku-2.8.1
- old
+ new
@@ -4,7 +4,10 @@
namespace :env do
desc 'Env variables changed'
task :changed do
end
- after 'env:changed', 'eye:hard_restart'
+ Rake::Task['env:changed'].enhance do
+ # Change whether the config changed or not
+ Rake::Task['eye:hard_restart'].invoke
+ end
end