Skip to content

Watch doesn`t work correctly with links #6122

Closed

Description

@arshtepe

Do you want to request a feature or report a bug?
Bug report.

What is the current behavior?
When i create link in node_modules and set symlinks to false, I have problem with watch, it works sometimes (more often it doesn`t work)

If the current behavior is a bug, please provide the steps to reproduce.

  1. create link
  2. set symlinks to false
  3. change file by link

What is the expected behavior?
Watch must work

If this is a feature request, what is motivation or use case for changing the behavior?

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

node v8.9.3
npm 5.6.0
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
4.4.0-83-generic
webpack 3.10.0

Activity

  1. alexander-akait commented on Dec 13, 2017

    @alexander-akait
    Member

    @arshtepe webpack version?

  2. arshtepe commented on Dec 13, 2017

    @arshtepe
    Author

    @evilebottnawi Sorry, I forgot. I have edited my comment

  3. alexander-akait commented on Dec 13, 2017

    @alexander-akait
    Member

    @arshtepe please create minimum reproducible test repo, thank you

  4. arshtepe commented on Dec 14, 2017

    @arshtepe
    Author

    @evilebottnawi I have created repo https://bitbucket.org/CyBer_UA/webpack-demo/src/344771d7d4b403eb662a9c0e7f23aaedc920f0e9?at=master
    To reproduce you need:

    cd repo/
    npm link
    cd ..
    npm link simple-repo
    webpack --watch
    

    and after that you need to change file index.js in repo folder
    from

    import test from "src/test";

    to

    import test from "./src/test"; 

    and after webpack do nothing...

  5. sokra commented on Dec 14, 2017

    @sokra
    Member

    @webpack-bot move to webpack/watchpack

    @evilebottnawi I have created repo https://bitbucket.org/CyBer_UA/webpack-demo/src/344771d7d4b403eb662a9c0e7f23aaedc920f0e9?at=master
    To reproduce you need:

    cd repo/
    npm link
    cd ..
    npm link simple-repo
    webpack --watch
    

    and after that you need to change file index.js in repo folder
    from

    import test from "src/test";

    to

    import test from "./src/test"; 

    and after webpack do nothing...

  6. webpack-bot commented on Dec 14, 2017

    @webpack-bot
    Contributor

    I've moved it to webpack/watchpack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions