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
I want to run the mdn content offline. When I run yarn start and open http://localhost:5042/en-us/docs/learn/getting_started_with_the_web, the page is always refreshed every 500ms :
Listening on port 5042
Warning! You have not set an EDITOR environment variable. Using the "Open in your editor" button will probably fail.
buildDocumentFromURL(/en-us/docs/learn/getting_started_with_the_web): 689.35ms
buildDocumentFromURL(/en-us/docs/learn/getting_started_with_the_web): 320.873ms
buildDocumentFromURL(/en-us/docs/learn/getting_started_with_the_web): 269.595ms
buildDocumentFromURL(/en-us/docs/learn/getting_started_with_the_web): 463.804ms
buildDocumentFromURL(/en-us/docs/learn/getting_started_with_the_web): 285.044ms
buildDocumentFromURL(/en-us/docs/learn/getting_started_with_the_web): 224.397ms
How can I disable this feature ? At the current time, I disabled JavaScript in Firefox but I don't like this solution. It looks to be related to swr and revalidation.
I tried to add REACT_APP_NO_WATCHER=true REACT_APP_DEV_MODE=false REACT_APP_WRITER_MODE=false when calling yari-server but it doesn't help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to run the mdn content offline. When I run
yarn start
and openhttp://localhost:5042/en-us/docs/learn/getting_started_with_the_web
, the page is always refreshed every 500ms :How can I disable this feature ? At the current time, I disabled JavaScript in Firefox but I don't like this solution. It looks to be related to swr and revalidation.
I tried to add
REACT_APP_NO_WATCHER=true REACT_APP_DEV_MODE=false REACT_APP_WRITER_MODE=false
when callingyari-server
but it doesn't help.Beta Was this translation helpful? Give feedback.
All reactions