Skip to content

Instantly share code, notes, and snippets.

@nobuti
Created September 29, 2015 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nobuti/2fb7e4a7149445f2b667 to your computer and use it in GitHub Desktop.
Save nobuti/2fb7e4a7149445f2b667 to your computer and use it in GitHub Desktop.
Browser-sync + Rails 4.2 (without tearing out the asset pipeline) So far so good
#!/usr/bin/env bash
set -e
rails s webrick & sleep 3
browser-sync start --files "app/views/**/*.erb, app/assets/stylesheets/**/*.scss, app/assets/javascripts/**/*.js" --proxy "localhost:3000" --reload-delay 1000 --no-open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment