Browser sync not reloading

I just spent 2+ hours trying to figure out why browser sync wasn’t connecting to my browser. Reinstalled npm packages, changed gulp tasks and finally got it. It was the tiniest detail: the <body> tag.

I’m building a website that needs to run on IE 9 > so I was using IE conditional comments to add a class to the body tag.

<!--[if IE]>
<body class="ie">
<![endif]-->

So, hope this helps you save a couple of hours. Check your body tag first!

Also, do if you have a better way of targeting old IE versions? Please share it!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.