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

Nodemon causes issue with running migrations #91

Open
bookcasey opened this issue Mar 7, 2022 · 1 comment
Open

Nodemon causes issue with running migrations #91

bookcasey opened this issue Mar 7, 2022 · 1 comment

Comments

@bookcasey
Copy link

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).

@bookcasey
Copy link
Author

#92

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