Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Synchronizing key LA files across multiple computers
#1
I have several computers with LA installed. One of them is the main machine, and the others need to automatically synchronize the key LA files from the main machine whenever changes occur (excluding the nuget folder).
 Several computers are on the same local area network, within the same IP address range.

Currently, I’m using a copy-and-paste approach. I’d like to implement a more elegant solution using triggers, or explore any better alternatives.

Thanks in advance for any suggestions and help.
#2
One way - on each non-main computer run a script that watches filesystem changes in real time, and copies files whenever something changed.

Another way - use a file synchronization software, eg Syncthing. Probably more reliable than a script.
https://chatgpt.com/share/69c7769c-a298-...016829f62a
 


A running LA process will see changes in code files (folder `files` and file `files.xml`). LA will not see changes in other files and folders unless you reload the workspace (can be automated somehow); but it's not that important and probably can be ignored.

Always exclude:
.compiled
.git
.state (probably)
.temp

Exclude what is not used in scripts (LA does not use it):
.interop
.nuget
dll, exe

Exclude if don't want to copy workspace settings:
settings.json
.toolbars (probably)
bookmarks.csv (probably)


Forum Jump:


Users browsing this thread: 1 Guest(s)