Browser-sync with Rails and turbolinks give white page
See original GitHub issueI have setup browser-sync gulp plugin in my rails project and I had a white page issue when using turbolinks navigation. If I look at the source code, the page is properly sent to the browser but is not displayed.
Here is my browser-sync gulp code:
gulp.task 'init', ->
browserSync.init
proxy: '127.0.0.1:3000' # Rails server
port: 3001
open: false
notify: false
ui: false
Issue Analytics
- State:
- Created 8 years ago
- Reactions:8
- Comments:21 (2 by maintainers)
Top Results From Across the Web
Browser-sync with Rails and turbolinks give white page -
I have setup browser-sync gulp plugin in my rails project and I had a white page issue when using turbolinks navigation. If I...
Read more >Rail 6 app, navigating to link is taking me to blank page and ...
All, i am facing an issue with routing when i click on the link i am taking to a blank page and only...
Read more >Gulp And Browsersync Configuration With Mamp - ADocLib
I have setup browsersync gulp plugin in my rails project and I had a white page issue when using turbolinks navigation. If I...
Read more >How to use Browser Sync in Rails - Reyza's Docs
If you would like to run Browsersync from the command line in any directory, it can be installed globally with the following command....
Read more >Hasty Treat - Old Browsers, Fallbacks and Polyfills - Part 1
Full Stack Developers Wes Bos and Scott Tolinski dive deep into web development topics, explaining how they work and talking about their own...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mrkongo @sandrodz @anthony-robin and other guys, I found a way to fix this issue. Browsersync injects a script in html page inside
body
tag, that causes the issue, so I changed some settings in Browsersync to inject script athead
tag instead ofbody
tag.Hope that it can help you 😄
Good workaround but, actually fixing this would be awesome!