changes to base translation not detected when using outputFormat: 'JavaScript'
#105
Labels
bug
Something isn't working
outputFormat: 'JavaScript'
#105
Describe the bug
issue
The generator can't detect changes because it uses
import
to load the contents of the base translation file. Theimport
statement gets cached so the process is not able to detect the changes.possible solution
We can't just copy the file and import it from there to a new location because it may contain other imports.
Maybe we can also use TypeScript to "compile" the JavaScript and all imports into a temporary folder and import it from there.
workaround
restart the generator after making changes to the base translation
Reproduction
run the generator and make some changes to the base-translation file
Logs
No response
Config
Additional information
No response
The text was updated successfully, but these errors were encountered: