Skip to content

Instantly share code, notes, and snippets.

@barsukov
Created May 8, 2015 19:30
Show Gist options
  • Save barsukov/5871ddee719683faa808 to your computer and use it in GitHub Desktop.
Save barsukov/5871ddee719683faa808 to your computer and use it in GitHub Desktop.
react hot loader integration
config.action_controller.asset_host = Proc.new do |source|
if source =~ /jsfile/
"http://localhost:8080/"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment