There is one project in Git repository and there are 2 computers that both pulled the latest version of the source code. So they run exactly the same code.
I use gulp together with the BrowserSync npm module and I pass only one option:
browserSync.init({
server: {
directory: true
}
});
On one computer I can see it correctly loads the root folder of the project but on the other computer it loads node_modules/.bin directory as root. I can't figure out what can be different on these computers.
I made sure there is browser-sync installed globally and there is registered $PATH to global node_modules.
But I can't think of anything else. What is causing this different behavior?