paint-brush
Making A Browser Console Log Wait Until Page Reloads [A How-To Guide]by@tywmick
120 reads

Making A Browser Console Log Wait Until Page Reloads [A How-To Guide]

by Ty Mick2mJune 22nd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

An open source JavaScript framework with a development server usually hot-reloads when you update files while the server is running. In the few cases where hot reloading isn’t possible and the page has to fully reload, you want to warn your users and explain why this is happening. But the moment it shows up in the console, the page reloads, and the browser clears it. Even if your user is eagle-eyed enough to notice your warning flash on the screen for a fraction of a second, it isn't there long enough to actually read.

Company Mentioned

Mention Thumbnail
featured image - Making A Browser Console Log Wait Until Page Reloads [A How-To Guide]
Ty Mick HackerNoon profile picture
Ty Mick

Ty Mick

@tywmick

Software developer, former RV nomad.

About @tywmick
LEARN MORE ABOUT @TYWMICK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Ty Mick HackerNoon profile picture
Ty Mick@tywmick
Software developer, former RV nomad.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here