make sure rack livereload port gets set when swf is disabled
This commit is contained in:
parent
7c432f4438
commit
2327695365
|
@ -4,10 +4,12 @@
|
|||
<% if force_swf? %>
|
||||
WEB_SOCKET_FORCE_FLASH = true;
|
||||
<% end %>
|
||||
RACK_LIVERELOAD_PORT = <%= @port %>;
|
||||
</script>
|
||||
<script type="text/javascript" src="/__rack/swfobject.js"></script>
|
||||
<script type="text/javascript" src="/__rack/web_socket.js"></script>
|
||||
<% end %>
|
||||
<script type="text/javascript">
|
||||
RACK_LIVERELOAD_PORT = <%= @port %>;
|
||||
</script>
|
||||
<script type="text/javascript" src="<%= src %>"></script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue