Skip to content

Commit

Permalink
Use "/" as path separator for toDosPath, fixes #41 (thanks @Vincent-P)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Apr 28, 2016
1 parent 9c6ec2a commit 2a37fa3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hot-build/hot-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,11 @@ Hot.prototype.processFilesForTarget = function(inputFiles) {
inputFiles.forEach(function(inputFile) {
var file;
if (inputFile.getArch() === "web.browser") {
file = convertToOSPath(path.join(
inputFile._resourceSlot.packageSourceBatch.sourceRoot,
file = convertToOSPath(
inputFile._resourceSlot.packageSourceBatch.sourceRoot +
'/' + // convertToOSPath is expecting a / of course...
inputFile.getPathInPackage()
));
);
if (!self.sentFiles[file]) {
data[file] = {
packageName: inputFile.getPackageName(),
Expand Down

0 comments on commit 2a37fa3

Please sign in to comment.