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

copyup not applying --up 1 #127

Open
PaulRBerg opened this issue Jun 4, 2023 · 2 comments
Open

copyup not applying --up 1 #127

PaulRBerg opened this issue Jun 4, 2023 · 2 comments

Comments

@PaulRBerg
Copy link

PaulRBerg commented Jun 4, 2023

The README says this:

also creates a copyup command which is identical to copyfiles but -up defaults to 1

I tried using copyup and the --up 1 flag does not seem to work, i.e. my src is copied over to dist. I've run it multiple times (both as a CLI and as an npm script), and I made sure that there's nothing getting in the way.

copyfiles --up 1 works, though.

I'm using version 2.4.1

@yegorius
Copy link

Having this issue on Windows as well. I think that the Linux trick with symlinking doesn't work on Windows: args.argv.$0 is node_modules\\copyfiles\\copyfiles when executed as copyup.

@BobDu
Copy link

BobDu commented Mar 22, 2024

Same bug when use pnpm in macOS

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

No branches or pull requests

3 participants