Skip to content

Tailwindcli process suddenly exits #3067

Description

@itsbilolbek

Describe the bug

Process exits unexpedtedly when it is supposed to run continuously.

To reproduce

My devenv.nix looks something like this:

{ pkgs, ...}:
{
  packages = [
    pkgs.tailwindcss_4
  ];

  processes = {
    tailwind.exec = ''
      tailwindcss \
        -i ./style.css \
        -o ./output.min.css \
        --watch \
        --minify
    '';
  };
}

I use this process to watch for tailwind class changes and immediately produce a minified file. When I run devenv up this process only runs once and exits. But if I run the same command on the command line it watches for changes.

Version

devenv 2.2.0 (x86_64-linux)
I don't use flakes, just devenv.nix

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions