ts-morph
ts-morph copied to clipboard
Emit changes without saving to filesystem
Is it possible to emit() changes without calling project.save()? save() commits all the changes to the filesystem. I wish to emit() without saving the changes to the filesystem.
I see you found out.
For anyone else: it's actually a commonish question and the answer is yes. Just call .emit() without calling .save() 😃
Yeah, that was my bad. Thanks :smiley: