电容器livereload无法正常工作 [英] Capacitor livereload not working

查看:69
本文介绍了电容器livereload无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何在iOS上将livereload与ionic 4和Capacitor一起使用.

I can't figure out how to use livereload with ionic 4 and Capacitor on ios.

我正在运行此命令 ionic cap run ios -l将我的本地IP地址添加到capacitor.config.json.

I'm running this command ionic cap run ios -l which add my local ip address to capacitor.config.json.

但是,似乎我在这里丢失了一些东西.

however, it seems like I'm missing something in here.

注意:根据提供实时重新加载功能#3130 这应该工作.

Note: according to Provide live-reload functionality #3130 this should work.

我的环境设置:

Ionic:

   ionic (Ionic CLI)          : 4.1.0 (/usr/local/lib/node_modules/ionic)

   Ionic Framework            : @ionic/angular 4.0.0-beta.2

   @angular-devkit/core       : 0.7.3

   @angular-devkit/schematics : 0.7.3

   @angular/cli               : 6.1.3

   @ionic/ng-toolkit          : 1.0.6

   @ionic/schematics-angular  : 1.0.5

Capacitor:

   capacitor (Capacitor CLI) : 1.0.0-beta.6

   @capacitor/core           : 1.0.0-beta.6

System:

   NodeJS : v9.10.1 (/usr/local/bin/node)

   npm    : 6.4.0

   OS     : macOS High Sierra

推荐答案

感谢Julio Cesar组成的离子团队指出这一点,这已成为具有PR的电容器中的一个错误

Thanks to Julio Cesar form ionic team for pointing this out, this turned to be a bug in Capacitor which has a PR already github.com/ionic-team/capacitor/pull/741 and github.com/ionic-team/capacitor/pull/742

这篇关于电容器livereload无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆