Skip to content

Adding component does not work without restarting the server #346

Closed
@luisDanielRoviraContreras

Description

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementRequest to enhance an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions