Skip to content

Commit 3253c4b

Browse files
authored
fix watch rebuild (#5159)
1 parent 6ce3ebb commit 3253c4b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎modules/@apostrophecms/asset/index.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,8 @@ module.exports = {
939939
const pulledChanges = [];
940940
let change = changes.pop();
941941
while (change) {
942-
pulledChanges.push(change);
942+
// Fix windows paths
943+
pulledChanges.push(change.replace(/\\/g, '/'));
943944
change = changes.pop();
944945
}
945946
// No changes - should never happen.

0 commit comments

Comments
 (0)