ember-ast-hot-load icon indicating copy to clipboard operation
ember-ast-hot-load copied to clipboard

`console.log` when hot reload happens?

Open patocallaghan opened this issue 4 years ago • 3 comments

Since we've rolled this out in our app, engineers have been really happy with it. The one bit of feedback we got was it would be helpful to have some confirmation that a hot reload happened in the browser because not everyone watches the terminal.

@lifeart any thoughts on that? Would you be open to having the addon emit a console.log in the browser (possibly a timestamp and the file changed) when a hot reload happens? It could be configurable? Off by default if you think it may be noisy?

I'd be happy to put it together if you're open to the idea?

patocallaghan avatar Dec 02 '20 12:12 patocallaghan

Hi @patocallaghan glad to hear it was useful for your team! I have related issue - https://github.com/lifeart/ember-ast-hot-load/issues/36

If you could investigate best ways to do it - I'm completely open for such improvements.

It may be an toast, or console.info, or combination.

lifeart avatar Dec 02 '20 12:12 lifeart

I'm not a big fan of toast notifications but I was definitely thinking of more in the console.info direction.

patocallaghan avatar Dec 02 '20 15:12 patocallaghan

I’m ok with it

lifeart avatar Dec 02 '20 15:12 lifeart