Skip to content

Support for "watch" mode #4

@legezam

Description

@legezam

As the name implies, the tool could regenerate the files in case it is necessary.

There are two cases:

  • when the database schema changes
  • when one of the definition files change

This could potentially be more and at the same time less efficient than the type provider approach. There are migration tools, like https://github.com/amacneil/dbmate which dumps the schema definition to a file whenever a migration has been applied. Watching this file could trigger the generation of sources.

In contrast to the polling method, this is very efficient as this is triggering generation only when it is really needed.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions