Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static folder doesn't always copy all files if root destination folder does not yet exist #20

Open
angelsix opened this issue Mar 6, 2018 · 0 comments
Labels
Milestone

Comments

@angelsix
Copy link
Owner

angelsix commented Mar 6, 2018

Give a dna.config file similar to:

{
    "outputPath": "../WebRoot",
    "staticFolders": 
    [ 
        { "source": "Assets", "destination": "../WebRoot/Assets" },
        { "source": "Assets", "destination": "../ServerRoot/wwwroot/Assets" } 
    ]
}

If ../WebRoot does not exist, on the first run of dnaweb, only some of the files copy (say 14 of 44 files). Running another generate command, or creating the WebRoot folder initially before running dnaweb solves the problem

@angelsix angelsix added the bug label Mar 6, 2018
@angelsix angelsix added this to the 1.0.7 milestone Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant