vue-cli icon indicating copy to clipboard operation
vue-cli copied to clipboard

[Critical] hot-reload AND refreshing the page in iOS Safari does not show any updates

Open ethanchiu10 opened this issue 8 years ago • 4 comments

Version

3.0.0-rc.1

Reproduction link

https://github.com/ethanchiu10/vuecli-basic-setup-bug

Steps to reproduce

  1. run 'vue ui'
  2. create a new project with the default preset
  3. open the site in mobile safari (tested on iP7 and iPX on ios 11.3.1 and ios 12)
  4. change something in HelloWorld and save (e.g. change the first word from "For guide" to "4 guide")
  5. press refresh in safari

What is expected?

a. Updates should be hot-reloaded b. Refreshing the page should definitely show updates

What is actually happening?

No updates are shown


Demo on 2 different machines

https://youtu.be/bqV2SWcixzo

https://youtu.be/knw53evSvdg

ethanchiu10 avatar Jun 14 '18 06:06 ethanchiu10

Are you using the UI to run serve?

Akryum avatar Jun 14 '18 08:06 Akryum

After deleting the .npm folder, and re-installing it, it worked again. I guess one of the cached modules was causing the issue.

ethanchiu10 avatar Jun 14 '18 15:06 ethanchiu10

@ethanchiu10 Where did you find the .npm folder? Which OS are you using?

Got the same isssue but can't figure out where the folder is.

rskinnerc avatar Jun 27 '18 12:06 rskinnerc

@VetBoard On my mac its at ~/.npm

ethanchiu10 avatar Jun 28 '18 02:06 ethanchiu10