Skip to content

Pug Files not in the Dev server watch list? #418

Closed
@evolutionjay

Description

CLI version: 2.8.0

操作步骤

vue init webpack demo
cd demo
npm i 
npm i -D pug pug-loader less less-loader

Add files:

App.js
App.pug
App.less
App.vue

in App.vue

<template lang="pug">
  include ./App.pug
</template>
<script src="./App.js"></script>
<style lang="less" src="./App.less">

⚠️问题

npm run dev

and then in localhost:8080/

when i change or save the App.pug file , the webpack server hot reload not work

pug file not in watch file list?


Sorry, My English is poor , I am try my best to let you know what I say.....

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions