remy / nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development
http://nodemon.io/
MIT License
26.21k stars 1.72k forks source link

project in /System/Volumes/Data can not work #2091

Closed Hareis closed 1 year ago

Hareis commented 1 year ago

node@v16.18.1, darwin@21.6.0

> clue-monitore@0.0.0 dev
> nodemon -v

2.0.20

Expected behaviour

Can help me restart the node project normally

Actual behaviour

Could not listen to the file save signal there is no update from the console

Steps to reproduce

I've tried putting the project in the /System/Volumes/Data/ directory and it won't work Just switch to ~/ to work properly


exec nodemon --dump

node: v16.18.1
nodemon: 2.0.20
command: /Users/hareis.li/.nvm/versions/node/v16.18.1/bin/node /System/Volumes/Data/hareis.li.data/webapp/clue-monitore/server/node_modules/.bin/nodemon --dump
cwd: /System/Volumes/Data/hareis.li.data/webapp/clue-monitore/server
OS: darwin x64
--------------
{
  run: false,
  system: {
    cwd: '/System/Volumes/Data/hareis.li.data/webapp/clue-monitore/server'
  },
  required: false,
  dirs: [ '/System/Volumes/Data/hareis.li.data/webapp/clue-monitore/server' ],
  timeout: 1000,
  options: {
    dump: true,
    ignore: [
      '**/.git/**',
      '**/.nyc_output/**',
      '**/.sass-cache/**',
      '**/bower_components/**',
      '**/coverage/**',
      '**/node_modules/**',
      re: /.*.*\/\.git\/.*.*|.*.*\/\.nyc_output\/.*.*|.*.*\/\.sass\-cache\/.*.*|.*.*\/bower_components\/.*.*|.*.*\/coverage\/.*.*|.*.*\/node_modules\/.*.*/
    ],
    watch: [ '*.*', re: /.*\..*/ ],
    monitor: [
      '*.*',
      '!**/.git/**',
      '!**/.nyc_output/**',
      '!**/.sass-cache/**',
      '!**/bower_components/**',
      '!**/coverage/**',
      '!**/node_modules/**'
    ],
    ignoreRoot: [
      '**/.git/**',
      '**/.nyc_output/**',
      '**/.sass-cache/**',
      '**/bower_components/**',
      '**/coverage/**',
      '**/node_modules/**'
    ],
    restartable: 'rs',
    colours: true,
    execMap: { py: 'python', rb: 'ruby', ts: 'ts-node' },
    stdin: true,
    runOnChangeOnly: false,
    verbose: false,
    signal: 'SIGUSR2',
    stdout: true,
    watchOptions: {},
    execOptions: {
      script: 'src',
      exec: 'node',
      args: [],
      scriptPosition: 0,
      nodeArgs: undefined,
      execArgs: [],
      ext: 'js,mjs,json',
      env: {}
    }
  },
  load: [Function (anonymous)],
  reset: [Function: reset],
  lastStarted: 0,
  loaded: [],
  watchInterval: null,
  signal: 'SIGUSR2',
  command: { raw: { executable: 'node', args: [ 'src' ] }, string: 'node src' }
}

My question is what does the volume fail to work properly because of the permission? image

remy commented 1 year ago

I don't really follow your final question, but try using the legacy flag -L

Hareis commented 1 year ago

/System/Volumes/Data/hareis.li.data/webapp/clue-monitore/server

exec ls -L or nodemon -L?

remy commented 1 year ago

nodemon -L

On Sun, 18 Dec 2022, 04:58 hareis.li, @.***> wrote:

/System/Volumes/Data/hareis.li.data/webapp/clue-monitore/server

exec ls -L or nodemon -L?

— Reply to this email directly, view it on GitHub https://github.com/remy/nodemon/issues/2091#issuecomment-1356671580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADLBCSGVETA7YULFNQIB3WN2KWVANCNFSM6AAAAAATB3E5WM . You are receiving this because you commented.Message ID: @.***>

github-actions[bot] commented 1 year ago

This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. Thank you for contributing <3

github-actions[bot] commented 1 year ago

Automatically closing this issue due to lack of activity