do not create runtime.json if not PERSIST_ON_CHANGE
bug fix in "disable runtime.json writing"
Merge pull request #119 from nitzan-shaked-clr/master

disable creation of runtime.json when not needed