Created
September 29, 2015 09:33
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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