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

Running two builds in parallel? #1331

Closed
jliebrand opened this issue Jul 18, 2020 · 1 comment · Fixed by #1336
Closed

Running two builds in parallel? #1331

jliebrand opened this issue Jul 18, 2020 · 1 comment · Fixed by #1336

Comments

@jliebrand
Copy link

Not sure if this is a bug or if this is simply not supported. I'm trying to run a few builds in parallel (building numerous projects in a mono repo). But I get

✖ ERROR Error: EEXIST: file already exists, mkdir '/tmp/preact-cli'
 

Is there a way to set which tmp folder is used? Or is running preact-cli in parallel simply not possible?

@developit
Copy link
Member

developit commented Jul 20, 2020

oooh that's a strange one. I'm not actually sure where we're creating a temp directory. found it!

rschristian added a commit that referenced this issue Dec 24, 2022
…#1336)

* Avoid file locks + overwrites by using a temp file for HTML templates

This fixes #1331.

* refactor: Replace tempy with simple random number gen

* docs: Adding changeset

Co-authored-by: Ryan Christian <[email protected]>
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

Successfully merging a pull request may close this issue.

2 participants