cortesi / modd

A flexible developer tool that runs processes and responds to filesystem changes
MIT License
2.79k stars 130 forks source link

indir and prep on Windows 10 doesn't work #74

Closed frederikhors closed 5 years ago

frederikhors commented 5 years ago

With this modd.conf on Windows 10:

web/**/*.scss {
    indir: web
    prep: pwd
}

or

web/**/*.scss {
    indir: .\web
    prep: pwd
}

or

web/**/*.scss {
    indir: ./web
    prep: pwd
}

I got:

00:12:26: prep: pwd
00:12:26: Error running prep: fork/exec C:\Users\Fred\go\bin\modd.exe: The directory name is invalid.

If I use this modd.conf:

web/**/*.scss {
    indir: .
    prep: pwd
}

it works printing correct pwd but for the parent of web folder.

Why?

frederikhors commented 5 years ago

With daemon no problem at all!

cortesi commented 5 years ago

Hi there - this should be fixed in master. Could you please verify that for me, and re-open if there's still an issue?