Skip to content

Commit ad0717f

Browse files
authored
Merge pull request #336 from davidcelis/patch-1
Rescue from `Interrupt` in `tailwindcss:watch`
2 parents 1555a49 + 981fced commit ad0717f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/tasks/build.rake

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ namespace :tailwindcss do
1515
command = Tailwindcss::Commands.watch_command(always: always, debug: debug, poll: poll)
1616
puts command.inspect if args.extras.include?("verbose")
1717
system(*command)
18+
rescue Interrupt
19+
puts "Received interrupt, exiting tailwindcss:watch" if args.extras.include?("verbose")
1820
end
1921
end
2022

0 commit comments

Comments
 (0)