You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project in which I want to run TailwindCSS CLI to watch for changes in styles. Here's an example of how I do this with a process in my devenv.nix file:
processes={# TailwindCSS watches for changes in styles and regenerates the CSS as neededtailwindcss={exec="${pkgs.tailwindcss}/bin/tailwindcss --config tailwind.config.js --input static/styles/main.css --output static/css/main.css --watch";process-compose={# Set working directoryworking_dir="src/sports_tracker";};};};
For some unknown reason, the process starts, then it is marked as completed with the exit code being 0. Nothing is shown in the process logs. What I would expect is TailwindCSS to keep on watching for changes. If I run the command in my shell, it works as expected.
Am I doing something wrong here?
Thank you for your help and devenv!
The text was updated successfully, but these errors were encountered:
Hello,
I have a project in which I want to run TailwindCSS CLI to watch for changes in styles. Here's an example of how I do this with a process in my
devenv.nix
file:For some unknown reason, the process starts, then it is marked as completed with the exit code being 0. Nothing is shown in the process logs. What I would expect is TailwindCSS to keep on watching for changes. If I run the command in my shell, it works as expected.
Am I doing something wrong here?
Thank you for your help and devenv!
The text was updated successfully, but these errors were encountered: