vuejs-templates/webpack

Warn if project path contains characters that cause problems with HMR

Open

#679 aperta il 19 apr 2017

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (4466 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (9721 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Not so much an issue, just a nice to have future feature change - potentially not possible, depends on how hot reloading currently happens.

Summary of the issue;

If your directory, ex. "My App" has a space hot reload doesn't work. You instead have to call it "my_app", "my-app" etc etc.

A nice MVP fix for this would be that when you run npm run dev, you get a console warning that hot reload won't work whilst there is a space in the dir name.

Guida contributor