Closed asselin closed 8 years ago
This fixes issue #6
@asselin Instead of changing the API that is consumed by projects like the virtual device wall, I fixed the routes in https://github.com/nparashuram/cordova-plugin-browsersync/commit/357ad7c6565db023461433c6357d324a6fdcc6b7. Do you think this will work ?
You should be able to install the master branch of the plugin on windows and try it out.
@asselin, Closing this PR as it is outdated. If the fix mentioned above does not work, please re-open the PR.
patcher.getWWWFolder() was returning the path with backslashes on Windows, but some callers of the code assumed it returned slashes, and used it to form URLs.
I modified patcher.getWWWFolder() to always return the path with slashes, and any caller that needs a filesystem path will run it through path.join() to convert to the proper OS delimiter