Skip to content

Watch fails silently in docker node:lts #370

@dievardump

Description

@dievardump

I have a problem with postcss-cli which doesn't work in watch mode in a node docker image

Here is a minimal repo that reproduce the problem: https://github.com/dievardump/postcss-watch-docker

Problem

When launching docker with the command npm run dev (which is :set to "postcss ./src/app.pcss -o ./public/global.css --watch") nothing happens.
If launching with npm run buildor launching both of those commands outside of the docker, then everything works fine cd

Expected behavior

The file src/app.pcss should be bundled into public/global.css and any change to src/app.pcss should automatically re bundle the app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions