Skip to content

error occurs when writting files inside application directory with 'fastify start --watch' #168

@tranzwalle

Description

@tranzwalle

I writting a file under the appliction directory, like 'cache/filecache.json',
and start the application with command 'fastify start --log-level info --pretty-logs app.js'.
If the file was changed, an error will show in terminal, "[fastify-cli] process forced end"

of course, this error can be avoided by '--ignore-watch'.
But when I use nodemon, there's no such error, so I submit this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions