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

Adding component does not work without restarting the server #346

Closed
luisDanielRoviraContreras opened this issue May 5, 2018 · 3 comments
Labels
type: enhancement Request to enhance an existing feature

Comments

@luisDanielRoviraContreras
Copy link
Contributor

  • Your OS Window
  • Node.js 8.4.0
  • VuePress 0.7.0
  • Browser version Google Chrome Versión 66.0.3359.139 (Build oficial) (64 bits)
  • Is this a global or local install? Global
  • Which package manager did you use for the install? NPM

When adding a new component it does not update me to be able to add it I have to restart the server and there is if it works well and finds the component

Example

.
└─ .vuepress
   └─ components
      ├─ demo-1.vue
      ├─ OtherComponent.vue
      └─ Demos  
           └─ Notifications
                 └─ The component is not yet added <---

I add it while the server is active

.
└─ .vuepress
   └─ components
      ├─ demo-1.vue
      ├─ OtherComponent.vue
      └─ Demos  
           └─ Notifications
                 └─ Prueba.vue <-- new component

And when adding the component in README.md it does not appear but after restarting the server of pueba if.

<Demos-Notifications-Prueba/>

screenshot_32

Every time I add a new component I have to restart the server? To make it work

@ulivz ulivz added the type: enhancement Request to enhance an existing feature label May 6, 2018
@ulivz ulivz added type: bug Something isn't working and removed type: bug Something isn't working labels May 6, 2018
@ulivz
Copy link
Member

ulivz commented May 6, 2018

Well, this is not a bug of VuePress, you should report it to chokidar.

But this issue, and #348, let me find a very interesting bug. 😄Thank you guys.

@ulivz
Copy link
Member

ulivz commented May 6, 2018

Closing is since I have created this interesting bug at: #351

@ulivz ulivz closed this as completed May 6, 2018
@luisDanielRoviraContreras
Copy link
Contributor Author

Then it will not work for my operating system or is there any way? because it really is very tedious to have to restart the server every time I add a new component and in my case I am doing a documentation migrating many components.

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
Projects
None yet
Development

No branches or pull requests

2 participants