mihaifm / simplemon

Simple file monitor that executes commands whenever a file change occurs
19 stars 2 forks source link

spaces in path #3

Open RandallFlagg opened 10 years ago

RandallFlagg commented 10 years ago

Hi,

First of all thanks for this great tool.

I tried to work with simplemon in a windows environment that has a path with spaces. When I move it to a no space path it works.

I get the following error: D:\tools\node\npm-global\node_modules\jade\bin\jade.js:161 if (err) throw err; ^ Error: ENOENT, lstat 'C:\Users\Work\Dropbox\Mango'

(simplemon) process crashed

The full path is: 'C:\Users\USER\Dropbox\AAA - BBB\Projects\CCC\Source\'

The command line I am using from the above directory is: C:\Users\USER\AppData\Roaming\npm\simplemon.cmd jade -o html_out {}

Thanks

mihaifm commented 10 years ago

Hi I will try to replicate it, but I have a feeling that this is related to the fact that you're running it in the Dropbox folder. Can you try to disable Dropbox syncing and see if it still happens?

RandallFlagg commented 10 years ago

Thanks for the quick reply.

  1. I tried to pause DropBox but it didn't help
  2. The directory I moved out to a place with out spaces had a soft link from dropbox and it worked so I don't think it is because DropBox