Closed JoachimM7 closed 2 years ago
fs.watchFile doesn't work, if there is a space in the path name, because then instead of the space, there will be a %20. Replacing it will work, so:
fs.watchFile
%20
try { deps.forEach((dep) => { dep = dep.replace(/%20/g, " ") console.log(`watching ${dep} for changes`); ...
well i wouldnt think you would have a space in a pathname that you are intending for the web. But nice fix. Pull requests welcome!
closed by #5
fs.watchFile
doesn't work, if there is a space in the path name, because then instead of the space, there will be a%20
. Replacing it will work, so: