Skip to content

Instantly share code, notes, and snippets.

@Chryus
Created December 23, 2016 21:57
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 Chryus/dafc8de6b8f8c2a9fad990a59a335a13 to your computer and use it in GitHub Desktop.
Save Chryus/dafc8de6b8f8c2a9fad990a59a335a13 to your computer and use it in GitHub Desktop.
unless Rails.env.production?
# Make sure Browserify is triggered when asked to serve javascript spec files
config.browserify_rails.paths << lambda { |p|
p.start_with?(Rails.root.join("spec/javascripts").to_s)
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment