File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 8787 net-protocol
8888 net-protocol (0.2.2 )
8989 timeout
90- net-smtp (0.5.0 )
90+ net-smtp (0.5.1 )
91+ net-protocol
9192 nokogiri (1.18.1 )
9293 mini_portile2 (~> 2.8.2 )
9394 racc (~> 1.4 )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def start(launcher)
1313 # If we use system(*command) instead, IRB and Debug can't read from $stdin
1414 # correctly bacause some keystrokes will be taken by watch_command.
1515 begin
16- IO . popen ( Tailwindcss ::Commands . watch_command , 'r+' ) do |io |
16+ IO . popen ( Tailwindcss ::Commands :: ENV , Tailwindcss :: Commands . watch_command , 'r+' ) do |io |
1717 IO . copy_stream ( io , $stdout)
1818 end
1919 rescue Interrupt
Original file line number Diff line number Diff line change 22
33module Tailwindcss
44 module Commands
5+ ENV = { 'BROWSERSLIST_IGNORE_OLD_DATA' => '1' }
6+
57 class << self
68 def compile_command ( debug : false , **kwargs )
79 rails_root = defined? ( Rails ) ? Rails . root : Pathname . new ( Dir . pwd )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace :tailwindcss do
44 debug = args . extras . include? ( "debug" )
55 command = Tailwindcss ::Commands . compile_command ( debug : debug )
66 puts command . inspect if args . extras . include? ( "verbose" )
7- system ( *command , exception : true )
7+ system ( Tailwindcss :: Commands :: ENV , *command , exception : true )
88 end
99
1010 desc "Watch and build your Tailwind CSS on file changes"
@@ -14,7 +14,7 @@ namespace :tailwindcss do
1414 always = args . extras . include? ( "always" )
1515 command = Tailwindcss ::Commands . watch_command ( always : always , debug : debug , poll : poll )
1616 puts command . inspect if args . extras . include? ( "verbose" )
17- system ( *command )
17+ system ( Tailwindcss :: Commands :: ENV , *command )
1818 rescue Interrupt
1919 puts "Received interrupt, exiting tailwindcss:watch" if args . extras . include? ( "verbose" )
2020 end
You can’t perform that action at this time.
0 commit comments