teknql / shadow-cljs-tailwind-jit

Shadow build hooks for enabling JIT compilation of Tailwind CSS
95 stars 10 forks source link

Use `:extra-env` in proc/process instead of `:env` #1

Closed destroycomputers closed 3 years ago

destroycomputers commented 3 years ago

First, thanks for a great work!

I've encountered an issue when trying to use the hook, it didn't start the postcss process. I've figured it's due to missing PATH from the environment in a spawned process.

:env replaces the environment completely, together with PATH.

This patch uses :extra-env instead which augments current environment without replacing it.

rschmukler commented 3 years ago

Awesome! Thank you for the contribution :+1: