Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Copy src/rails.js into where it will be served up to the browser ever…

…y time the index page is refreshed.

This makes development easier by not having to always kill the server and/or edit a different file.
  • Loading branch information...
commit 9c84c9d2e18565e91ebac894c0d07313d0cdb4ff 1 parent 770d6b2
Alex Crichton alexcrichton authored josevalim committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  test/server.rb
1  test/server.rb
View
@@ -14,6 +14,7 @@
end
get '/' do
+ FileUtils.cp(source_file, dest_file)
erb :index
end
Please sign in to comment.
Something went wrong with that request. Please try again.