module Sass::Exec::SassScss::Sass::Plugin.compiler
Watch the working directory for changes without adding it to the load path. This preserves the pre-3.4 behavior when the working directory was on the load path. We should remove this when we can look for directories to watch by traversing the import graph.
Public Class Methods
watched_file?(file)
click to toggle source
rubocop:ensable ClassVars
Calls superclass method
# File lib/sass/exec/sass_scss.rb, line 304 def watched_file?(file) super(file) || (file =~ /\.s[ac]ss$/ && file.start_with?(@@working_directory + File::SEPARATOR)) end
watched_paths()
click to toggle source
Calls superclass method
# File lib/sass/exec/sass_scss.rb, line 309 def watched_paths @watched_paths ||= super + [@@working_directory] end