You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2021. It is now read-only.
I don't quite understand why this is the case, but this cost me many hours of debug time to find, so I wanted to make people aware of it. To reproduce the problem do the following:
ember new demo-app
cd demo-app
Edit package.json to remove ember-welcome-page
ember generate controller application
Edit app/controllers/application.js to display a message when it gets initialized. For example:
import Ember from 'ember';
export default Ember.Controller.extend({
init() {
this._super(...arguments);
alert('working!!!');
console.log("WORKING!!!");
}
});
ember server (see that it works)
ember install ember-cli-template-debug
ember server (see that it no longer works -- no message)
The text was updated successfully, but these errors were encountered:
I don't quite understand why this is the case, but this cost me many hours of debug time to find, so I wanted to make people aware of it. To reproduce the problem do the following:
ember new demo-app
cd demo-app
package.json
to removeember-welcome-page
ember generate controller application
app/controllers/application.js
to display a message when it gets initialized. For example:ember server
(see that it works)ember install ember-cli-template-debug
ember server
(see that it no longer works -- no message)The text was updated successfully, but these errors were encountered: