Comments (5)
It looks like you wanted to but forgot about it: https://github.com/nordnet/cordova-hot-code-push-cli/blob/master/src/server.js#L4
from cordova-hot-code-push-cli.
If you open https://291b3fb6.ngrok.com/chcp.manifest
- those .sw[a-p]
files are there? If you have changed .chcpignore
first, and only then ran the server, then they shouldn't. Server detects, that something has changed, shows message about it. But plugin detects, that there is nothing new and no update is performed. So, files from the .chcpignore
are ignored by the server, but, probably, CLI should not show that confusing messages.
from cordova-hot-code-push-cli.
No, the manifest
is clean of all my ignores, that works. It is just the server that tries to ping the app constantly for updates for ignored files.
For example, I edit index.js
, the app gets pinged once for the .index.js.swp
, then once for the index.js
, then again after browserify has run and built a all.js
. So 3 pings go to the app. It probably ignores 2 of them an only reacts to the all.js
but I'm worried the messages might get out of order, or two might co-incide, or something bad could happen. I'd rather it just get pinged once for my all.js
since that is the only thing in the www
dir I didn't want ignored.
from cordova-hot-code-push-cli.
Sorry to comment on a closed issue, but I just have a question about chpignore, not a bug or anything, so best to hide it here. Can I exclude files from being copied to local storage with the chpignore, so that the app knows to get update-able files from server/localstorage but can load all other "deemed-non-changing" files from the app itself, or is it just used to update the manifest about what files have changed - as opposed to what files should be sent to the server? Just curious.
from cordova-hot-code-push-cli.
.chcpignore
is used by the CLI client to form manifest file. And nothing more. Plugin itself doesn't know about it's existents.
We can't break content of the www
folder on copyable and not-copyable files, because if files are in www
folder - then they are used on the web pages. And if so - you need to know path to them (for example, for css files). Usually, those paths are relative. But if you break content on different parts - you need to provide absolute paths to them, which, I'm not sure, even possible. Either way, this will lead to a serious complication of the logic on the web project itself.
from cordova-hot-code-push-cli.
Related Issues (20)
- cordova-hot-code-push not deploying HOT 4
- Allow absolute URL for www_directory HOT 2
- Use chcpbuild.options when running "cordova-hcp build" HOT 1
- issue in SWIFT_VERSION HOT 2
- install cordova-hot-code-push-cli bring error HOT 7
- cordova-hcp should be able to build and deploy for dev/prod HOT 1
- Add optional logging for server (requests for assets as clients fetch updates) HOT 2
- document env.version HOT 3
- release timestamp should only be updated if manifest did change HOT 2
- cordova-hcp build error HOT 3
- Unable to know if the update has gone well or not HOT 2
- License? HOT 1
- Could you tell me where the new edition is? HOT 2
- questions about Update method HOT 1
- Blank screen after update/install on released(signed) apk version HOT 1
- there is an error while install cordova-hot-code-push-cli ----Cannot find module 'async' HOT 1
- Node version > 5.1.0 HOT 2
- When attempting 'npm install -g cordova-hot-code-push-cli' HOT 4
- TODO: Should print usage instructions. HOT 2
- PSA: Deprecation notice 2018-09-30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-hot-code-push-cli.