Composer doesn't seem to monitor source files for manual changes

I’ve found workarounds for some of problematic points about my flow with Cursor, but one (very important one actually) still stays. So as I work through the task with Composer it generates certain files, we iterate over them together and everything is fine, Composer remembers their contents and patches them adequately. However every time I go in and patch or adjust some files myself, Composer stays seemingly unaware of my changes and next time I ask it to add something to one of those active files, it goes on and wipes out my changes, enforcing stale and obsolete lines back.

Any way to mitigate this behaviour? Apart from going on and referencing each of updated files manually (I’m actually not sure if it will help). Would be great if Cursor would monitor manual changes to source files or at least grab the latest version each time it attempts changes on the file.

2 Likes

Hey, try this solution: