{"action":"created","issue":{"url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/653","labels_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/653/labels{/name}","comments_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/653/comments","events_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/653/events","html_url":"https://github.com/BrowserSync/browser-sync/issues/653","id":83585308,"number":653,"title":"Injecting wrong CSS file on change.","user":{"login":"trevcor","id":3234812,"avatar_url":"https://avatars.githubusercontent.com/u/3234812?v=3","gravatar_id":"","url":"https://api.github.com/users/trevcor","html_url":"https://github.com/trevcor","followers_url":"https://api.github.com/users/trevcor/followers","following_url":"https://api.github.com/users/trevcor/following{/other_user}","gists_url":"https://api.github.com/users/trevcor/gists{/gist_id}","starred_url":"https://api.github.com/users/trevcor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevcor/subscriptions","organizations_url":"https://api.github.com/users/trevcor/orgs","repos_url":"https://api.github.com/users/trevcor/repos","events_url":"https://api.github.com/users/trevcor/events{/privacy}","received_events_url":"https://api.github.com/users/trevcor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-01T16:18:44Z","updated_at":"2015-06-09T19:40:45Z","closed_at":null,"body":"I'm using a windows 7 VM to run the browser sync task via gulp.  My workspace is on a shared folder that exists on my mac.\r\n\r\nI'm using a wild card to look for css changes in my project.  Whenever I make a change to a file in the directory a different file will be injected into the browser.\r\n\r\nSo the first time I make a change to file3.css it injects file1.css.  Then the next time I make a save it injects file2.css.  So instead of injecting the actual file that changed it iterates through the files returned from the wildcard \"WebContent/css/*.css\".  This is pretty strange behavior.  \r\n\r\nMy file structure looks like:\r\n\r\n    - WebContent\r\n       -css\r\n         - file1.css\r\n         - file2.css\r\n         - file3.css\r\n\r\nMy config looks like:\r\n\r\n    gulp.task('browser-sync', function() {\r\n          browserSync.init({\r\n              proxy: \"http://localhost:8085/#/\",\r\n              files: 'WebContent/css/*.css',\r\n              logLevel: \"debug\",\r\n              browser: \"chrome\"\r\n          });\r\n      });\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/comments/110481228","html_url":"https://github.com/BrowserSync/browser-sync/issues/653#issuecomment-110481228","issue_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/653","id":110481228,"user":{"login":"shakyShane","id":1643522,"avatar_url":"https://avatars.githubusercontent.com/u/1643522?v=3","gravatar_id":"","url":"https://api.github.com/users/shakyShane","html_url":"https://github.com/shakyShane","followers_url":"https://api.github.com/users/shakyShane/followers","following_url":"https://api.github.com/users/shakyShane/following{/other_user}","gists_url":"https://api.github.com/users/shakyShane/gists{/gist_id}","starred_url":"https://api.github.com/users/shakyShane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakyShane/subscriptions","organizations_url":"https://api.github.com/users/shakyShane/orgs","repos_url":"https://api.github.com/users/shakyShane/repos","events_url":"https://api.github.com/users/shakyShane/events{/privacy}","received_events_url":"https://api.github.com/users/shakyShane/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T19:40:45Z","updated_at":"2015-06-09T19:40:45Z","body":"@trevcor please provide a minimal sample project that demonstrates this bug"}}