embroider-build / app-blueprint

[pre-alpha™️] Blueprint for next generation of Ember apps
34 stars 10 forks source link

Default console output initially hides the port/host information #23

Open NullVoxPopuli opened 5 months ago

NullVoxPopuli commented 5 months ago

image

have to scroll up to see:

image

mansona commented 5 months ago

I mean... isn't this a vite bug? This really has very little to do with us 🤔

NullVoxPopuli commented 5 months ago

Something is scrolling the terminal tho.

In a normal vite project this behavior isn't seen (unless its super recent, i suppose)

Update: not seen in regular vite

mansona commented 5 months ago

The scrolling is likely just because of the refresh, if you make sure you have nothing pointing at localhost:4200 waiting for a refresh and run it again I'm pretty sure it doesn't scroll 🤔

NullVoxPopuli commented 5 months ago

Here is what a normal vite app is supposed to look like on boot (this is the qunit-dom repo): image

And here is what an ember app looks like on boot image

I would guess that ember-cli is messing things up.

if you make sure you have nothing pointing at localhost:4200

confirm (tho, 4202 in my case, because 4200 and 4201 are busy).


This behavior even happens with completely rando port -- so it's not related to a browser or anything.

NullVoxPopuli commented 5 months ago

so on a slower computer, (Mac: M2 Max), I did see the expected Vite output and then it gets scrolled.

mansona commented 4 months ago

So we discovered what was causing this issue today when pairing, it's because we get an instant notification of a changed file (index.html) because of the rewritten-app 😫

Once we remove the rewritten-app this should go away 👍