cancel
Showing results for 
Search instead for 
Did you mean: 

How to make externally-changed files tracked by Kx Developer

darrenwsun
New Contributor III

Hi Community,

I have some files that are updated by a script, but the changes are not reflected in Kx Developer. I don't wish to use Upload Local Files or Upload From Server every time such changes happen (they seem to support only files not folders anyway), or switch to git CLI or any other IDE to check in those changes. Any suggestion?

Thanks.

1 ACCEPTED SOLUTION

Hi Darren,

Developer has unidirectional change management with the OS. Only changes from the UI are reflected on disk, not the other way around.

The current workflow to edit files outside of developer and have them be changed is git ops.

You clone a separate copy of your repository, make your edits, commit and push. Then within Developer, do the reverse. You pull the changes to see them update in the tree.

David

View solution in original post

3 REPLIES 3

davidcrossey
Moderator Moderator
Moderator

Hi darrenwsun,

It wouldn't be very efficient for KX Developer to continually poll the filesystem for changes, so I presume KX Developer only refreshes it's view of those files once one of the actions you've mentioned has been triggered.

You would almost need your script to also cause an action in KX Developer via a hook.

I'll reach out internally to see if anyone is aware if this is possible, or if there is another option available.

David

Thanks David, kindly let me know once you hear back. 

I like many of the features from Kx Developer (notably qcumber and qdoc), but it being a web IDE isn't on the list...

Hi Darren,

Developer has unidirectional change management with the OS. Only changes from the UI are reflected on disk, not the other way around.

The current workflow to edit files outside of developer and have them be changed is git ops.

You clone a separate copy of your repository, make your edits, commit and push. Then within Developer, do the reverse. You pull the changes to see them update in the tree.

David