mulesoft / api-designer

A web editor for creating and sharing RAML API specifications
Other
1.07k stars 269 forks source link

Parse RAML dependency when background !include changes #257

Open blakeembrey opened 9 years ago

blakeembrey commented 9 years ago

When an !include'd file changes (drag and drop, import, etc.) we should reparse the current RAML document. This is an extension of the change introduced at #252, but requires a much larger overhaul to work - either making content changes a getter/emitter or being able to $watch all !include'd files. One performance restriction is that there's currently no way to list !include dependencies of files to trigger recursive updates of RAML correctly.

sichvoge commented 9 years ago

@blakeembrey what's the current status of this? What happens when you change a remote file?

blakeembrey commented 9 years ago

Nothing has changed, unless I've missed something. You can't watch for changes of a remote file. IIRC, this is mostly an issue of the current file system and issues with the information flow and how changes to the filesystem propagate.