ng serve doesn't generate dist folder anymore with new angular-cli webpack beta

前端 未结 4 1396
情话喂你
情话喂你 2021-01-04 01:15

I initially started a project with beta 10 of the angular-cli, when I run ng serve at that point of time the dist folder would contain the compiled

4条回答
  •  迷失自我
    2021-01-04 01:55

    In the root folder of your project run

    ng serve --delete-output-path=false
    

    or

    ng serve --no-delete-output-path
    

    This worked for me.

提交回复
热议问题