Skip to content

Directory is already being watched #1990

@cyrusstoller

Description

@cyrusstoller

This is a fantastic project. I really appreciate being able to develop using Vue and Rails in the same project.

I'm in the process of upgrading to 4.x. I followed the guide and things appear to be functioning properly. However, I'm running into an "error" when using Guard to run my tests and when opening a new rails console.

In my terminal that's running my tests I see the following a few times:

        ** ERROR: directory is already being watched! **

And then I also see it if I open a new rails console.

What's strange to me is that it doesn't really seem to be causing any errors. I'm still able to interact with my project. The node_modules that it calls out are:

  • mini-css-extract-plugin
  • compression-webpack-plugin

This is more of a minor annoyance than anything else. What's odd is if I close the rails console and then open a new rails console the errors don't appear. I'm assuming this has something to do with me using the default spring settings.

I'm not sure what will be most helpful for me to provide to help debug.

Here are some basics:

  • Rails v5.2.2
  • Ruby v2.5.3
  • Webpacker v4.0.2
  • Listen v3.1.5

Any tips for how to resolve these?

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