Tweak Hot Loading yellow box wording

Summary: Users don't know what an accept callback is. Lets be more explicit on what type of modules we currently support hot loading.

Reviewed By: weicool

Differential Revision: D2945438

fb-gh-sync-id: d0fc228ab23833371f8fbbd86ed18e81c8ba0ebf
shipit-source-id: d0fc228ab23833371f8fbbd86ed18e81c8ba0ebf
This commit is contained in:
Martín Bigio 2016-02-17 15:39:46 -08:00 committed by facebook-github-bot-1
parent ccbf9273fe
commit a558c4b59d
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ if (__DEV__) { // HMR
mod.module.hot.acceptCallback();
} else {
console.warn(
'[HMR] Module `' + id + '` can\'t be hot reloaded because it ' +
'doesn\'t provide accept callback hook. Reload the app to get the updates.'
'[HMR] Module `' + id + '` can\'t be hot reloaded because it\'s not a ' +
'React component. To get the changes reload the JS bundle.'
);
}
}