Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paths with @ in the name are not watched #1157

Closed
gerhardcit opened this issue Dec 12, 2017 · 5 comments
Closed

Paths with @ in the name are not watched #1157

gerhardcit opened this issue Dec 12, 2017 · 5 comments

Comments

@gerhardcit
Copy link

  • nodemon -v: 1.12.5
  • node -v: 6.11.2
  • Command you ran:
    cd /Users/me/projects/dev/node_modules/@mymods/app1
    nodemon --verbose index.js

Expected behaviour

[nodemon] watching 1 files

Actual behaviour

[nodemon] watching 0 files

Steps to reproduce

put your app in a path with @ in the name


we use that often to develop modules like this: @ournpm/npm-module1. The are consumed by a upstream project
/Users/me/projects/dev/consumer-app which would find the node_module without having to install it.

@remy
Copy link
Owner

remy commented Dec 14, 2017

Related (I believe) to #916

@dominykas
Copy link
Contributor

I believe the @ in the path is unrelated - the clue is in cd /Users/me/projects/dev/node_modules/ - node_modules is ignored by default and so the whole path gets ignored, so yes - I'd say this is the same issue as #916.

@dominykas
Copy link
Contributor

Verified by overriding ignored folders - the @ has no effect, but node_modules does.

@gerhardcit can you please confirm if nodemon watches things correctly when the folder with an @ in the name is in a path which does not contain node_modules, while the fix is being worked on?

@remy
Copy link
Owner

remy commented Dec 20, 2017

Pretty sure #1186 when deployed will fix this particular issue.

@remy
Copy link
Owner

remy commented Dec 21, 2017

Live in nodemon latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants