Section's code editing removes it from the editor

New Member
1 0 0

Hi everyone,


I'm currently developing custom theme for Shopify. As you know - on Shopify panel you can click "Customize" button to arrange the sections of the page. However when I update the code of some section - the section disappears from the layout and I need to add it again (and fill up all the fields). I'm using Theme Kit to modify the code locally. 

Is it possible to prevent removing sections?