Javascript - working on the same file

Shawn Ebeyer asked on October 30, 2016 16:20

Hi all,

I have a Javascript file that needs to be worked on by two people at the same time. We don't necessarily need to work on the same functions/parts of the file, but we do need access to the same file simultaneously. Can this be done? Can we reference functions from outside the JS file?

Any help on how to actually do this would be very helpful!

Thanks as always,

Shawn

Recent Answers


Brenden Kehren answered on October 31, 2016 14:33

Working on the js files at the same time will result in lost work as "the last one in will win" and overwrite any of the other changes made by the other dev. There really isn't a good way to handle this within Kentico aside from using CI or your own source control repo and allowing the changes to be merged into each other from there. Also implementing CI isn't simply checking a box and saying "lets do it", it involves quite a bit of change on your dev end.

1 votesVote for this answer Mark as a Correct answer

Shawn Ebeyer answered on October 31, 2016 15:14

Thanks Brenden,

This is what I suspected - but wanted to confirm.

Cheers!

Shawn

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.