Permalink
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...
1 parent 770d6b2 commit 9c84c9d2e18565e91ebac894c0d07313d0cdb4ff @alexcrichton alexcrichton committed with josevalim Oct 26, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/server.rb
View
@@ -14,6 +14,7 @@
end
get '/' do
+ FileUtils.cp(source_file, dest_file)
erb :index
end

0 comments on commit 9c84c9d

Please sign in to comment.