Skip to content

Commit

Permalink
Update connection.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Jun 16, 2024
1 parent 4db374c commit c7a83dd
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions lib/sass/compiler/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ def initialize

@stdin.binmode

# # https://dart.dev/tools/dart-devtools
# if 'dart' == File.basename(CLI::COMMAND.first, '.exe') && CLI::COMMAND.include?('--observe')
# Kernel.warn(@stdout.readline, uplevel: 0)
# Kernel.warn(@stdout.readline, uplevel: 0)
# end

@stdout.binmode

@wait_thread.name = "sass-embedded-process-waiter-#{id}"
end

Expand All @@ -34,15 +42,6 @@ def id
def listen(dispatcher)
Thread.new do
Thread.current.name = "sass-embedded-process-stdout-poller-#{id}"

# # https://dart.dev/tools/dart-devtools
# if 'dart' == File.basename(CLI::COMMAND.first, '.exe') && CLI::COMMAND.include?('--observe')
# Kernel.warn(@stdout.readline, uplevel: 0)
# Kernel.warn(@stdout.readline, uplevel: 0)
# end

@stdout.binmode

loop do
length = Varint.read(@stdout)
id = Varint.read(@stdout)
Expand Down

0 comments on commit c7a83dd

Please sign in to comment.