Skip to content

'Sass Watch' doesn't work in Linux Background #1691

@JesusHerreraUS

Description

@JesusHerreraUS

Hello,
I'm trying to execute sass in a very simple script in Debian 10. The script is as the follow:

#! /bin/sh -e
sass --watch $scssPath:$cssPath > ./sass_watch2.log 2>&1 &

$scssPath and $cssPath are the paths of the files sccs and css. I save stdin and stderr in a file (ass_watch2.log).

This script executes sass in background but with this way it stops working (the process dies
).

However, if I execute it in foreground (without the last &), it works correctly.

I'm using version 1.50.0. When I used version 1.39.1, it works good.

Any idea?

Thanks.

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