Skip to content

Commit 66218bf

Browse files
committed
Merge pull request #282 from Jany-M/master
fixed bug with wrong paths for watchlist files
2 parents 5aebff5 + 774c9ed commit 66218bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/RemoteSync.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ class RemoteSync
215215
setupAutoFileWatch: (filesName,projectPath) ->
216216
_this = @
217217
setTimeout ->
218+
if process.platform == "win32"
219+
filesName = filesName.replace(/\//g, '\\')
218220
fullpath = projectPath + filesName.replace /^\s+|\s+$/g, ""
219221
_this.monitorFile(fullpath,false,false)
220222
, 250

0 commit comments

Comments
 (0)