Skip to content

Commit

Permalink
Merge pull request #336 from davidcelis/patch-1
Browse files Browse the repository at this point in the history
Rescue from `Interrupt` in `tailwindcss:watch`
  • Loading branch information
flavorjones authored Mar 7, 2024
2 parents 1555a49 + 981fced commit ad0717f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tasks/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace :tailwindcss do
command = Tailwindcss::Commands.watch_command(always: always, debug: debug, poll: poll)
puts command.inspect if args.extras.include?("verbose")
system(*command)
rescue Interrupt
puts "Received interrupt, exiting tailwindcss:watch" if args.extras.include?("verbose")
end
end

Expand Down

0 comments on commit ad0717f

Please sign in to comment.