ng-tailwindcss icon indicating copy to clipboard operation
ng-tailwindcss copied to clipboard

Output stderror stream from tailwind command

Open mvehar-preskok opened this issue 2 years ago • 2 comments

https://github.com/tehpsalmist/ng-tailwindcss/blob/eb27a63272b581f4b7cef7b57863331e1eca3fa6/lib/build.js#L52

I had an issue that error was not reported by exec command, but instead i got error printed inside stderror variable (something regarding wrong classes).

Suggestion, if stderror * 3 in exec callback) is not empty, print it to console.error (we could also call Promise.reject in case of an error, but this might cause some backward compatibility issues)

P.s. node 14.18.1, "ng-tailwindcss": "2.2.0", (even with 2.3) "tailwindcss": "^2.2.19",

mvehar-preskok avatar Mar 11 '22 15:03 mvehar-preskok

Also tailwind build requires input files to be defined via -i parameter

mvehar-preskok avatar Mar 11 '22 15:03 mvehar-preskok

@mvehar-preskok I am so sorry, I must not have seen this issue when you filed it last year. I hope everything is ok (and that you are not using this package anymore 😛 ), but if you still have problems, please reach out.

tehpsalmist avatar Feb 28 '23 03:02 tehpsalmist