Open ghost opened 7 years ago
+1 here, after 3 hours of debugging, realized my wordpress template file was outputting a new line before the doctype.
Even trying to switch around snipperOptions to change the regex to something else than body didnt work.
Issue details
Browsersync doesn't seem to work if there is any whitespace before the doctype. The snippet never gets loaded and no errors in the console, using the proxy feature.
Steps to reproduce/test case
Proxy to a page which has whitespace before the doctype.
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync