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

watch for changes is only on a folder level. we need to watch a file. #5888

Open
sdetweil opened this issue Sep 10, 2024 · 0 comments
Open

Comments

@sdetweil
Copy link

I use the json file to start an app

{
  "apps" : [{
    "name"        : "MagicMirror",
    "script"      : "/home/pi/MagicMirror/installers/mm.sh",
    "watch"       : ["/home/pi/MagicMirror/config/config.js"]
  }]
}

the older watch support provided for a list of files.. now it is watch this root folder.
but file changes are not replicated to the folder.. only file/directory intersions/removals. .

so pm2 doesn't get file change notices anymore..

magicmirror/config/config.js <---- that is the file we want to watch
magicmirror is the root, config as the root doesn't change the results.

is there something I am missing? tested on ubuntu, raspi os, and macos

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

1 participant