stephenharris / grunt-pot

Scan files and creates a .pot file using xgettext
MIT License
53 stars 13 forks source link

"The command line is too long." message when it runs in windows and read many files. #14

Open jorgesanchez33 opened 8 years ago

jorgesanchez33 commented 8 years ago

I get this error because the grunt task is reading 169 files and convert this to long command line . I think, instead of create command line for all 169 files, it could create command line 10 by 10, or maybe 1 by 1, so, it will support thousands of files when it runs on windows.

alexVauch commented 8 years ago

Possible solution is to copy files to temp folder and rename each to short name (e.g. file array index). Here is sample of grunt copy task.