I have Windows 7 and I want to run the npm command and compile all the jade files that are in the lib library, this is the command I want to use:
jade --watch --pretty lib/*.jade --out .
and it generates the following error:
Error: ENOENT: no such file or directory, lstat 'C:\Usersmarzo\proyecto1\lib\*.jade'
at Error (native)
at Object.fs.lstatSync (fs.js:1003:11)
at renderFile (C:\Usersmarzo\AppData\Roaming\npm\node_modules\jade\bin\jade.js:227:17)
at tryRender (C:\Usersmarzo\AppData\Roaming\npm\node_modules\jade\bin\jade.js:181:5)
at C:\Usersmarzo\AppData\Roaming\npm\node_modules\jade\bin\jade.js:136:5
at Array.forEach (native)
at Object.<anonymous> (C:\Usersmarzo\AppData\Roaming\npm\node_modules\jade\bin\jade.js:135:9)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
NOTE: This works when I put the specific name of a jade file, for example:
jade --watch --pretty lib/index.jade --out .