Skip to content

Commit d4972e4

Browse files
committed
fix: live preview exceptions intermitantly on app start
1 parent 9d0335e commit d4972e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveDevelopment/LiveDevMultiBrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ define(function (require, exports, module) {
379379
}
380380

381381
function _updateVirtualServerScripts() {
382-
if(!_server){
382+
if(!_server || !_liveDocument || !_liveDocument.doc){
383383
return;
384384
}
385385
_server.addVirtualContentAtPath(

0 commit comments

Comments
 (0)