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

Wont let the build process exit #13

Open
jampack opened this issue Jul 12, 2021 · 1 comment
Open

Wont let the build process exit #13

jampack opened this issue Jul 12, 2021 · 1 comment

Comments

@jampack
Copy link

jampack commented Jul 12, 2021

Adding the watch param does the job during development but it wont let the build process exit though it builds successfully.

@flogy
Copy link

flogy commented May 31, 2023

@jampack Had the same issue and found a workaround by only setting the watch configuration if rollup was called in watch mode:

copy({
   ...(!!process.env.ROLLUP_WATCH && { watch: "src/default.css" }),
   targets: [{ src: "src/default.css", dest: "dist/" }],
}),

Hope this helps.

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

2 participants