Skip to content

copyFiles() creates watcher on /tmp directory #904

@robertenk

Description

@robertenk

@symfony/webpack-encore v1.0.0 and @symfony/webpack-encore v0.32.0

When running in watch mode a watcher on the /tmp directory is created.
This only happens when using the .copyFiles() option.

I'm not sure if this is expected behavior - but in our case this is leading to problems.

As a workaround we added this config, which is solving the issue:

watchOptions: {
    ignored: ['/tmp', '**/node_modules']
}

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