livereload导致应用程序在启animation面(连续加载轮)失速 – 离子

UPDATE

它停止工作没有livereload – 所以现在不是由于livereload – 但我仍然需要帮助解决这个问题


iOS 11更新(我认为这是因为之前的事情很好)的原因之后,我无法使用livereload 。 如果我尝试使用livereload,它会挂在启animation面上 – 装载轮旋转。 这里是关于我的离子环境的一些信息:

 Eamons-MBP:myapp eamonwhite$ ionic info cli packages: (/Users/eamonwhite/ionicmane/myApp/node_modules) @ionic/cli-utils : 1.12.0 ionic (Ionic CLI) : 3.12.0 global packages: cordova (Cordova CLI) : 7.0.1 local packages: @ionic/app-scripts : 1.3.12 Cordova Platforms : android 6.2.3 ios 4.4.0 Ionic Framework : ionic-angular 3.5.0 System: ios-deploy : 1.9.2 ios-sim : 6.1.2 Node : v7.7.3 npm : 4.1.2 OS : macOS High Sierra Xcode : Xcode 9.0 Build version 9A235 Misc: backend : legacy 

当我用xcode运行它时,它在xcode控制台中这样说:

 2017-10-10 15:49:17.417901-0400 myApp[8476:3520766] Resetting plugins due to page load. 2017-10-10 15:49:38.433127-0400 myApp[8476:3520766] Failed to load webpage with error: The request timed out. 

在离子控制台中,它在deviceready事件之前停止:

 ------ Debug phase ------ Starting debug of 2e5ac6066864be48322a757c4d0ccdfde52cf356 (N51AP, iPhone 5s (GSM), iphoneos, arm64) aka 'Eamon White's iPhone' connected through USB... [ 0%] Looking up developer disk image [ 90%] Mounting developer disk image [ 95%] Developer disk image already mounted [100%] Connecting to remote debug server ------------------------- (lldb) command source -s 0 '/tmp/2F06F4BB-A7E5-4B97-87EC-A01CBEE5661A/fruitstrap-lldb-prep-cmds-2e5ac6066864be48322a757c4d0ccdfde52cf356' Executing commands in '/tmp/2F06F4BB-A7E5-4B97-87EC-A01CBEE5661A/fruitstrap-lldb-prep-cmds-2e5ac6066864be48322a757c4d0ccdfde52cf356'. (lldb) platform select remote-ios --sysroot '/Users/eamonwhite/Library/Developer/Xcode/iOS DeviceSupport/10.3.3 (14G60)/Symbols' Platform: remote-ios Connected: no SDK Path: "/Users/eamonwhite/Library/Developer/Xcode/iOS DeviceSupport/10.3.3 (14G60)/Symbols" (lldb) target create "/Users/eamonwhite/ionicmane/myapp/platforms/ios/build/device/myApp.app" Current executable set to '/Users/eamonwhite/ionicmane/myapp/platforms/ios/build/device/myApp.app' (arm64). (lldb) script fruitstrap_device_app="/private/var/containers/Bundle/Application/5EBCC0EF-FDB9-4DE7-A961-D91B6139AEA0/myApp.app" (lldb) script fruitstrap_connect_url="connect://127.0.0.1:50188" (lldb) target modules search-paths add /usr "/Users/eamonwhite/Library/Developer/Xcode/iOS DeviceSupport/10.3.3 (14G60)/Symbols/usr" /System "/Users/eamonwhite/Library/Developer/Xcode/iOS DeviceSupport/10.3.3 (14G60)/Symbols/System" "/private/var/containers/Bundle/Application/5EBCC0EF-FDB9-4DE7-A961-D91B6139AEA0" "/Users/eamonwhite/ionicmane/myapp/platforms/ios/build/device" "/var/containers/Bundle/Application/5EBCC0EF-FDB9-4DE7-A961-D91B6139AEA0" "/Users/eamonwhite/ionicmane/myapp/platforms/ios/build/device" /Developer "/Users/eamonwhite/Library/Developer/Xcode/iOS DeviceSupport/10.3.3 (14G60)/Symbols/Developer" (lldb) command script import "/tmp/2F06F4BB-A7E5-4B97-87EC-A01CBEE5661A/fruitstrap_2e5ac6066864be48322a757c4d0ccdfde52cf356.py" (lldb) command script add -f fruitstrap_2e5ac6066864be48322a757c4d0ccdfde52cf356.connect_command connect (lldb) command script add -s asynchronous -f fruitstrap_2e5ac6066864be48322a757c4d0ccdfde52cf356.run_command run (lldb) command script add -s asynchronous -f fruitstrap_2e5ac6066864be48322a757c4d0ccdfde52cf356.autoexit_command autoexit (lldb) command script add -s asynchronous -f fruitstrap_2e5ac6066864be48322a757c4d0ccdfde52cf356.safequit_command safequit (lldb) connect (lldb) run success (lldb) safequit Process 7681 detached 

另外,在开始发生之前,我将ios-deploy1.9.1更新到了1.9.2

为什么我不能使用livereload ? 再次,我认为这可能与iOS 11更新有关。 有没有人知道一个解决方法…我已经读了一些有关npm run watch但无法让它运行。

我创build了一个空白的应用程序,看看是否会运行livereload ,而不是。

我手机上的wifi关了,所以没有连接到ionic