Sha256: 4ae524f8eb6dcb4cc37a75d0b4e3be13c587e16140d2ff4aba4c9369ceba31bb

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

require 'guard_helpers/base_helper'
require 'rrjj'

module ::GuardHelpers
  module OpalHelper
    include BaseHelper

    def start
      super if defined? super
      cmds = ::Pry::CommandSet.new do
      end
      ::Pry::Commands.import cmds
    end

    def run_on_modifications(paths)
      super if defined? super
      #handle_all_paths(%r{^app/assets/javascripts/(.+)\.rb$}) do
      #  path_basenames = paths.map do |path|
      #    File.basename(path)
      #  end
      #  notify "Handling opal files #{path_basenames}"
      #  ::RoCells::Opal.new.handle
      #end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rrjj-0.0.1 lib/guard_helpers/opal_helper.rb