Skip to content

Commit

Permalink
#2
Browse files Browse the repository at this point in the history
  • Loading branch information
puneet committed Jan 3, 2017
1 parent 9eafe3b commit 08783b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/language_pack/rails5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ def initialize(build_path, cache_path=nil)

def compile
instrument "rails5.compile" do
@yarn_wrapper.install_node_modules_and_dependencies
super
allow_git do
topic "rails5 compilie"
run_webpack_compile_rake_task
if @yarn_wrapper.node_app?
@yarn_wrapper.install_node_modules_and_dependencies
run_webpack_compile_rake_task
end
end
end
end
Expand Down

0 comments on commit 08783b1

Please sign in to comment.