Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Hidden files are not deployed in local development mode #8

Closed
nikDemyankov opened this issue Sep 30, 2015 · 2 comments
Closed

Hidden files are not deployed in local development mode #8

nikDemyankov opened this issue Sep 30, 2015 · 2 comments
Labels
Milestone

Comments

@nikDemyankov
Copy link
Member

Relates to nordnet/cordova-hot-code-push#4 issue.

In short: deploy command ignores hidden files, while build doesn't. deploy should not ignore them.

How to reproduce:

  1. Create Ionic project and add chcp plugin:

    ionic start Test blank
    cd ./Test
    ionic build
    ionic plugin add cordova-hot-code-push-plugin
    
  2. Run server:

    cordova-hcp server
  3. Add ionicons:

    ionic add ionicons

As a result, CLI client will update chcp.manifest and add lib/angular/.bower.json to it. But if we will try to access it from the browser - it's not gonna be found. This breaks the update procedure.

@ptarjan
Copy link

ptarjan commented Oct 14, 2015

This was also the cause of nordnet/cordova-hot-code-push#19 where my .swp files weren't being served but were in the manifest

@nikDemyankov
Copy link
Member Author

If file is hidden - it is ignored by the CLI client. Hidden files are not gonna break the update logic anymore, unless you intentionally put them in the manifest file. In that case - be sure to make them accessible through the url. Otherwise, you will end up having the same problem. Local dev server doesn't make them visible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants