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

[Bug Report]: farm watch doesn't copy /public contents to /dist #1711

Open
ddorstijn opened this issue Aug 11, 2024 · 1 comment
Open

[Bug Report]: farm watch doesn't copy /public contents to /dist #1711

ddorstijn opened this issue Aug 11, 2024 · 1 comment
Labels
enhancement New feature or request pr welcome Welcome contributions for newcomers

Comments

@ddorstijn
Copy link

Steps to reproduce

Put in any item in the public directory and see that it does get copied over when running farm build but not when running farm watch

Reproduce link

No response

What is actually happening?

I need to have files on disk for my web extension, I have a manifest.json in the public directory. This doesn't get copied over so the extension crashes when using farm watch. Using the farm build -w command does work for now.

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (6) x64 AMD Ryzen 5 4500U with Radeon Graphics
    Memory: 4.94 GB / 15.37 GB
  Binaries:
    Node: 22.5.1 - ~\scoop\apps\nodejs\current\node.EXE
    Yarn: 1.22.22 - ~\scoop\apps\yarn\current\bin\yarn.CMD
    npm: 10.8.2 - ~\scoop\apps\nodejs\current\npm.CMD
    pnpm: 9.6.0 - ~\scoop\shims\pnpm.EXE
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @farmfe/core: ^1.3.0 => 1.3.12
@wre232114
Copy link
Member

we will support copy public when running farm watch

@ErKeLost ErKeLost added the pr welcome Welcome contributions for newcomers label Aug 16, 2024
@fu050409 fu050409 added the enhancement New feature or request label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr welcome Welcome contributions for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants