Vagrant and Browsersync
There are a few reasons to read this post, here’s a checklist:
- Are you using Vagrant?
- Are you using Browsersync?
- Is BrowserSync extremely slow?
Answered yes to all of those? Then this might be your solution…
Local naming conventions
If you’re running vagrant and browsersync, avoid naming your project something.local
as this conflicts with OSX’s bonjour scanning, which gives .local
to your mac by default.
Renaming your local environment to .dev
stops any conflicts from occurring and allows browsersync to run blazingly fast. Seriously.