microsoft / fluentui-token-pipeline

The Fluent UI token pipeline generates source code for Fluent UI libraries.
https://microsoft.github.io/fluentui-token-pipeline/
Other
41 stars 18 forks source link

Watch for token changes and reprocess #26

Closed TravisSpomer closed 3 years ago

TravisSpomer commented 3 years ago

Back when the token JSON was in the same project as the pipeline itself, there was a watch mode that would reprocess the tokens whenever the JSON changed. That doesn't exist anymore in the CLI world, but it would still be useful for people "playing" with tokens and iterating.

I should add a new CLI flag --watch that would work like --watch flags in other CLIs, staying alive and reprocessing the file whenever it changes.

(The alternative would be for every token repo that uses the CLI to just set up its own watch task.)

TravisSpomer commented 3 years ago

Closing since this isn't a requirement.