Skip to content

Nodemon causes issue with running migrations #91

@bookcasey

Description

@bookcasey

Found a strange bug today, if nodemon is running, the knex migrations will sometimes fail and output 'Already up to date' even if there are new migrations. Here is a StackOverflow threadabout the issue.

Two possible solutions: make it clear in the readme that the start:dev script can't be running while running the migrations, or add --ignore src/db/migrations to the start-dev script (or a nodemon.json file with the same option set).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions