Skip to content

feat: Supporting Hot Reload #24

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

Closed
adhamfarrag opened this issue Jul 11, 2022 · 3 comments
Closed

feat: Supporting Hot Reload #24

adhamfarrag opened this issue Jul 11, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@adhamfarrag
Copy link

🆒 Your use case

Very interesting project @danielroe and the team. Thank you all.

I tried supporting hot reload to a nuxt/ionic project. Here's what I did:

  1. Installing @ionic/cli as a dependency.
  2. adding "ionic:serve": "nuxt dev" command in package.json.

That's it. It worked for me.

It's worth mentioning that when I tried to run the iOS Simulator, I saw this error message from Ionic VSCode Extension.

Screen Shot 2022-07-12 at 1 10 56 AM

🆕 The solution you'd like

Supporting Hot Reload in a way that Ionic VSCode understands.

🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

@Tragio
Copy link

Tragio commented Apr 8, 2023

If for some reason the Ionic VSC Plugin doesn't like your package.json, make sure you have a name and a version.

  "name": "app",
  "version": "0.10.0",

@danielroe
Copy link
Collaborator

@Tragio Maybe worth adding to docs? Or printing a warning message when Nuxt starts if missing?

@Jamiewarb
Copy link
Contributor

@danielroe I believe this can be closed.

HMR on the web appears to be working out of the box, and HMR in the device simulator or on a native device is now explained in the docs in #431, under Cookbook > Local Development

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants