Closed vizo closed 8 years ago
Could you share more details about your environment? OS, filesystem, are you using a container or remote resource for publishing changes, etc.
Checked on OS X, works for me. How can I reproduce the issue? Could you describe some steps?
I am using Ubuntu 15.10. node --version v5.10.1
I did everything same like you have in docs. I am using locales stored in /l10n. I just generated it by catberry init example.
@vizo wait, if you mean l10n
directory in your project's root it's not watched on purpose. The l10n
directories inside components are watched. The root l10n
directory is for global values which are rarely changed.
Ok, clear. Why we can't watch both? I rather use one file for each language. It's easier to give it to translator to translate ...
Global l10n directory is kinda a backup option. I would put such kind of files to a document
component then. But the best practice is to separate the files by components having isolated components published to a shared repo across several teams.
Ok thanks for explanation.
When i change l10n json files, they are not reloaded. I checked source and on('change') event never fires. I need to manually restart server every time ...
Any idea?
Thanks.