Skip to content

feat(server): support watch publicDir in dev#2174

Merged
chenjiahan merged 7 commits into
web-infra-dev:mainfrom
liyincode:feat/publicDir-watch
Apr 23, 2024
Merged

feat(server): support watch publicDir in dev#2174
chenjiahan merged 7 commits into
web-infra-dev:mainfrom
liyincode:feat/publicDir-watch

Conversation

@liyincode

@liyincode liyincode commented Apr 23, 2024

Copy link
Copy Markdown
Contributor

Summary

support watch publicDir in dev
set watch: true, page will reload when watch file content changed.

    server: {
        publicDir: {
          watch: true,
        },
      },

Related Links

#1903

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify

netlify Bot commented Apr 23, 2024

Copy link
Copy Markdown

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 780e0a8
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/662795c9b9e1e10008c0f049
😎 Deploy Preview https://deploy-preview-2174--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 91 (🟢 up 7 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment thread examples/vue2/rsbuild.config.ts Outdated
Comment thread website/docs/en/config/server/public-dir.mdx Outdated
@chenjiahan
chenjiahan requested a review from 9aoy April 23, 2024 07:15
Co-authored-by: neverland <jait.chen@foxmail.com>
Comment thread website/docs/zh/config/server/public-dir.mdx Outdated
@chenjiahan
chenjiahan merged commit a96e315 into web-infra-dev:main Apr 23, 2024
@chenjiahan

Copy link
Copy Markdown
Member

🎉🎉

@liyincode

Copy link
Copy Markdown
Contributor Author

🎉🎉

WoW🤟

@liyincode
liyincode deleted the feat/publicDir-watch branch April 23, 2024 12:04
@chenjiahan chenjiahan mentioned this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants