debug by environment (stop endless editing)
This commit is contained in:
parent
15fd4ea7c6
commit
5f2f35cbcf
@ -24,7 +24,7 @@ run DebugServer.new { |s|
|
|||||||
s.append_path 'lib'
|
s.append_path 'lib'
|
||||||
s.append_path 'assets'
|
s.append_path 'assets'
|
||||||
# s.source_map = true
|
# s.source_map = true
|
||||||
s.debug = false
|
s.debug = !ENV["DEBUG"].nil?
|
||||||
|
|
||||||
s.index_path = "index.html.erb"
|
s.index_path = "index.html.erb"
|
||||||
s.sprockets.cache = Sprockets::Cache::MemoryStore.new(5000)
|
s.sprockets.cache = Sprockets::Cache::MemoryStore.new(5000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user