Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NullVoxPopuli opened this issue Jun 4, 2024 · 6 comments
Open

Comments

@NullVoxPopuli
Copy link
Collaborator

image

have to scroll up to see:

image

@mansona
Copy link
Member

mansona commented Jun 5, 2024

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

@NullVoxPopuli
Copy link
Collaborator Author

NullVoxPopuli commented Jun 5, 2024

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
Copy link
Member

mansona commented Jun 5, 2024

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
Copy link
Collaborator Author

NullVoxPopuli commented Jun 5, 2024

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
Copy link
Collaborator Author

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

@mansona
Copy link
Member

mansona commented Jun 27, 2024

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants