From ddce65ea84024fcc2dfe54736b8a64954b38fa9e Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 28 Nov 2023 12:46:14 -0300 Subject: [PATCH] Fix deadlock --- tasks/nanoc.rake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tasks/nanoc.rake b/tasks/nanoc.rake index 75d113d..7a0cf6b 100644 --- a/tasks/nanoc.rake +++ b/tasks/nanoc.rake @@ -41,8 +41,6 @@ namespace :nanoc do end task watch: %w[build] do - warn "[build] Acquire lock..." - lockf.lock require "listen" Listen.to File.join(Dir.getwd, "src"), force_polling: true do sh "rake build" @@ -51,9 +49,6 @@ namespace :nanoc do rescue Interrupt warn "SIGINT: exit" exit - ensure - warn "[build] Release lock..." - lockf.release end end