Exported view files are getting modified every time Export is done.
I am adding events and custom methods to the view classes that I create, but they often are modified again during export. Usually it is only whitespace that gets added, but sometimes code changes from earlier versions are getting reverted. I suspect that the Designer is caching a version and then reapplying the cached version.
Perhaps this is occurring because I leave the Designer open with my project and edit the view files in another editor. Then, if I re-export the files are reverted to what they were at the last export.
If you prefer to use your own editor then go ahead. But when you do edit the files please close down and reopen Designer. We plan to add a file watch so it can refresh these changes correctly but for now this doesn't happen
All files under the app/ dir are constantly written to. We use reflection to read in and preserve any members or functions you've added with or without Designer. However right now that reflection only occurs on open and is cached in memory as you say. This is a limitation we hope to address soon
I eagerly anticipate this fix because this isn't how Designer 1.2 did it, and overwriting the implementation classes seems like craziness to me. I guess this is happening because you're working towards people being able to use nothing but Designer to work on their implementations, but the code editor isn't looking anywhere near as capable and especially not as user customisable enough for this purpose yet.