mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
committed by
Joe Haddad
parent
fc49946ccb
commit
1d5a277367
@@ -252,6 +252,10 @@ connection.onmessage = function(e) {
|
||||
case 'ok':
|
||||
handleSuccess();
|
||||
break;
|
||||
case 'content-changed':
|
||||
// Triggered when a file from `contentBase` changed.
|
||||
window.location.reload();
|
||||
break;
|
||||
case 'warnings':
|
||||
handleWarnings(message.data);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user