Hello,
I'm trying nativescript + angular2 + jade plugin.
The xml file is not rendered at the correct time. I think that the file is empty when the xml parser is run.
Using
fs.writeFileSync(xmlFilePath, xmlContent, 'utf8', function (err) {
if (err) reject(err);
else resolve();
});
on line 32 fixes