We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
reload
2 parents 3b13ce1 + a7dc5fb commit 90a378cCopy full SHA for 90a378c
1 file changed
src/index.js
@@ -80,6 +80,14 @@ class FastBoot {
80
}
81
82
83
+ /**
84
+ * Destroy the existing Ember application instance, and recreate it from the provided dist path.
85
+ * This is commonly done when `dist` has been updated, and you need to prepare to serve requests
86
+ * with the updated assets.
87
+ *
88
+ * @param {Object} options
89
+ * @param {string} options.distPath the path to the built Ember application
90
+ */
91
reload({ distPath }) {
92
if (this._app) {
93
this._app.destroy();
0 commit comments