Fix: live-reload doesn't send style id

This commit is contained in:
eight 2017-10-07 18:14:49 +08:00
parent 765231581c
commit f255631a0b

View File

@ -44,6 +44,7 @@
cm.scrollTo(scrollInfo.left, scrollInfo.top);
return runtimeSend({
id: installed.id,
method: 'saveUsercss',
reason: 'update',
sourceCode
@ -176,7 +177,7 @@
});
return runtimeSend(request)
.then(result => {
installed = true;
installed = result;
$$('.warning')
.forEach(el => el.remove());