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

Changes to the db file without need to restart the CLI #3

Open
pathmapper opened this issue Jul 23, 2020 · 1 comment
Open

Changes to the db file without need to restart the CLI #3

pathmapper opened this issue Jul 23, 2020 · 1 comment

Comments

@pathmapper
Copy link

Currently there is need to restart the CLI after changes to the db if you want to use the updated db file.
Would it be possible that the db file could be changed while the CI is running?

@orangemug
Copy link
Owner

Yeah we definitely could, so currently the --db option accepts a JS module or a JSON file. Would we want this for both or just JSON. I guess another question does it make sense to have --db accept 2 different formats or is that just confusing.

Module wise https://www.npmjs.com/package/chokidar seems to be the goto module for this these days.

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

2 participants