unimal-jp / spear

The spear OSS repository
https://late-cloud-6411.spearly.app
MIT License
10 stars 1 forks source link

Add watch directory option into setting files. #181

Closed mantaroh closed 1 year ago

mantaroh commented 1 year ago

Is your feature request related to a problem? Please describe.

If we have a i18n.yml on top directory, spear-cli doesn't watch this file due to out of watch directory.
https://github.com/unimal-jp/spear/blob/5ff8cd2a36cc2168c4f3482cfb9d0553e2ed70e4/packages/spear-cli/src/magic.ts#L218-L221

Describe the solution you'd like

Spear allow specifying watch directory on spear.config.mjs.

Describe alternatives you've considered

Nope.

Additional context

Nope.

mantaroh commented 1 year ago

Document issue is https://github.com/unimal-jp/spear-doc/issues/1.