Skip to content

Hot Module Replacement doesn't notice when a symlink is changed #57

Description

@webpack-bot

What is the current behavior?
We symlink our node_modules directory and change the symlink when we update node_modules. When the directory is changes HMR doesn't detect that something has changed.

If the current behavior is a bug, please provide the steps to reproduce.
Setup HMR referencing a file with the parent directory symlinked. Change the symlink to a different directory with a modified version of the file.

What is the expected behavior?
HMR should detect that files have changed. Currently does not.

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Linux Ubuntu.


This issue was moved from webpack/webpack#5395 by @sokra. Orginal issue was by @pweaver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions