Skip to content

Commit 13b4237

Browse files
author
Jake Boxer
committed
Add live asset reloading
* Un-memoize Hyperloop::Applicaion#assets
1 parent db225af commit 13b4237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hyperloop/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def self.asset_path?(path)
4848
#
4949
# Returns a Sprockets::Environment.
5050
def assets
51-
@assets ||= Sprockets::Environment.new do |env|
51+
Sprockets::Environment.new do |env|
5252
env.append_path(File.join(@root, "app", "assets"))
5353
env.append_path(File.join(@root, "vendor", "assets"))
5454

0 commit comments

Comments
 (0)