mirror of
https://github.com/strapi/strapi.git
synced 2025-10-29 08:59:34 +00:00
chore(docs): Strapi Class - reload
This commit is contained in:
parent
634845081c
commit
46cb652ba7
@ -80,3 +80,9 @@ Stored paths of file system.
|
|||||||
- `true`: Everything have been loaded
|
- `true`: Everything have been loaded
|
||||||
- `false`: There is something loading
|
- `false`: There is something loading
|
||||||
|
|
||||||
|
### `strapi.reload`
|
||||||
|
|
||||||
|
Function to reload the app.
|
||||||
|
|
||||||
|
This function defines itself at the construction of the Strapi class.
|
||||||
|
|
||||||
|
|||||||
@ -104,12 +104,6 @@ class Strapi {
|
|||||||
|
|
||||||
// Strapi state management variables
|
// Strapi state management variables
|
||||||
this.isLoaded = false;
|
this.isLoaded = false;
|
||||||
// TODO put this in /docs/docs/API/Strapi
|
|
||||||
/*
|
|
||||||
function to reload the app
|
|
||||||
|
|
||||||
To define
|
|
||||||
*/
|
|
||||||
this.reload = this.reload();
|
this.reload = this.reload();
|
||||||
|
|
||||||
// Instantiate the Koa app & the HTTP server
|
// Instantiate the Koa app & the HTTP server
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user