Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

Only delete relevant files/directories in the www directory #134

@brandyscarney

Description

@brandyscarney

Short description of the problem:

Currently the build is deleting everything in the www/ directory. If I have a file in my www/ directory it gets erased on build. I could put the file in another directory and add a custom config but this seems like overkill for one file.

What behavior are you expecting?

Either be able to add specific files to ignore from deletion in the www/ directory or only have the relevant files in www/ deleted for a build.

Steps to reproduce:

  1. Clone the conference app: https://github.com/driftyco/ionic-conference-app
  2. Run ionic serve
  3. See that the .gitignore file is deleted inside of www/ and all other files in www/ are showing up to add to git

Which @ionic/app-scripts version are you using?

0.0.30

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Related to: #127

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions