question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cordova-serve-ios doesn't copy files to www

See original GitHub issue

I have an issue where my app isn’t updating in response to changes I make in code. For example I add an extra character to a word but I don’t see the change in the app. Even after quitting the app and re-running vue-cli-service cordova-serve-ios.

So I tried clearing out src-cordova/www/js in case it was struggling to overwrite the files. However re-running vue-cli-service cordova-serve-ios doesn’t seem to be copying over any files to www/js. At what stage is this supposed to happen?

 DONE  Compiled successfully in 22204ms                                                                                                               12:09:49 PM


  App running at:
  - Local:   https://localhost:8080
  - Network: https://192.168.18.78:8080

  Note that the development build is not optimized.
  To create a production build, run npm run build.

 INFO  executing "cordova clean" in folder /Users/alex/Projects/hectare-src/app/src-cordova
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=/Users/alex/Library/Android/sdk (recommended setting)
ANDROID_HOME=/Users/alex/Library/Android/sdk (DEPRECATED)
Subproject Path: CordovaLib
Subproject Path: app

> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

BUILD SUCCESSFUL in 0s
3 actionable tasks: 3 up-to-date
Running command: xcodebuild -project SellMyLivestock.xcodeproj -configuration Debug -alltargets clean
note: Using new build system

** CLEAN SUCCEEDED **

Running command: xcodebuild -project SellMyLivestock.xcodeproj -configuration Release -alltargets clean
note: Using new build system

** CLEAN SUCCEEDED **

 INFO  executing "cordova run ios" in folder /Users/alex/Projects/hectare-src/app/src-cordova
Reading build config file:
Building project: /Users/alex/Projects/hectare-src/app/src-cordova/platforms/ios/SellMyLivestock.xcworkspace
	Configuration: Debug
	Platform: device
	Target:
Adding xcodebuildArg: -UseModernBuildSystem=0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
alexcrooxcommented, Jul 29, 2019

This is now working. I had to set

devServer: {
    https: false
  }

in vue.config.js. I know you mentioned it in README, but not the workaround if you aren’t ready for https locally.

0reactions
walientecommented, Aug 6, 2019

This is now working. I had to set

devServer: {
    https: false
  }

in vue.config.js. I know you mentioned it in README, but not the workaround if you aren’t ready for https locally.

i do that and now works also for me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

A file copy operation fails when files or folders have long paths ...
The copy operation fails and generates a message that states that the path (file name) is too long. · The copy operation does...
Read more >
Copying all files and directories from one dir to another #61
I'm using this command to copy all files from build directory to `dist: copyfiles -u 1 build/* dist It works fine except it...
Read more >
Copy always to output directory does not work - Stack Overflow
In the file properties in Visual Studio, set: Build action: None. Copy to output directory: Copy always.
Read more >
Get started with Vuetify
This command will make changes to your project template files, components folder, vue.config.js, etc. If you are installing Vuetify via ...
Read more >
Copy files in Linux, avoid the copy if files do exist in destination
copy only when the SOURCE file is newer than the destination file or when the ... after the sourcedirname ensures that it does...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found