Skip to content

vuepress build command will effect other vuepress dev command in running. #786

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

Closed
LinFeng1997 opened this issue Aug 31, 2018 · 1 comment
Labels
type: enhancement Request to enhance an existing feature version: next Planned to do or already included in the next(1.0.0) version

Comments

@LinFeng1997
Copy link
Contributor

Bug report

Multiple vuepress projects running at the same time.executing the build command overwrites the effects of other project dev commands.

Version

0.14.2

Steps to reproduce

In A project,input vuepress dev command,

And then,

In B project,input vuepress build command.

What is expected?

One project will not effect other project.

What is actually happening?

vuepress build command will effect other vuepress dev command in running.

Other relevant information

  • Your OS: Mac
  • Node.js version: 8.11.3
  • Browser version: Chrome 68
  • Is this a global or local install? global
  • Which package manager did you use for the install?npm
@ulivz ulivz added version: next Planned to do or already included in the next(1.0.0) version type: enhancement Request to enhance an existing feature and removed version: next Planned to do or already included in the next(1.0.0) version labels Sep 3, 2018
@ulivz
Copy link
Member

ulivz commented Sep 3, 2018

This is because when you launch vuepress build, it will overwrite the temporary files (vuepress/lib/app/.temp) generated by vuepress dev. for now we don't plan to change temp directory by checking if a vuepress process already exists. but in the next version, you will have the chance to change temp manually:

    "dev": "vuepress dev docs --temp .temp1",
    "build": "vuepress build docs --temp .temp2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Request to enhance an existing feature version: next Planned to do or already included in the next(1.0.0) version
Projects
None yet
Development

No branches or pull requests

2 participants