We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this is a simple script:
const forever = require('forever'); forever.start('./index.js', { args: [ '--port', 4000 ], watch: true, watchDirectory: './', });
it failed to restart when change any file in current workding directory, but if watchDirectory changes to process.cwd(), everything works.
watchDirectory
process.cwd()
I read chokidar's documents, it accepts relative directory, but why forever don't accepts relative directory? thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this is a simple script:
it failed to restart when change any file in current workding directory, but if
watchDirectory
changes toprocess.cwd()
, everything works.I read chokidar's documents, it accepts relative directory, but why forever don't accepts relative directory? thanks
The text was updated successfully, but these errors were encountered: