【问题标题】:When the vue-cli-service build is completed, the process will not shut down automaticallyvue-cli-service构建完成后,进程不会自动关闭
【发布时间】:2020-02-10 18:17:55
【问题描述】:

当我使用vue-cli-service构建我的项目时,控制台提示:

 DONE  Build complete. The dist directory is ready to be deployed.
 INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html

我使用的命令是:

vue-cli-service build

但是,该进程不会自动关闭。

通常我不用担心这个,但是当我使用jenkins之类的工具时,构建过程没有关闭,jenkins无法继续。

【问题讨论】:

  • 您使用什么命令构建项目?请发布带有所有参数的完整命令
  • 好的,我已经添加了。

标签: node.js jenkins vue-cli-3


【解决方案1】:

我已经知道原因了,因为我在打包的时候也执行了一段代码来监控文件的变化,导致打包后进程无法退出。

【讨论】:

    猜你喜欢
    • 2019-02-07
    • 2016-12-07
    • 1970-01-01
    • 2020-01-31
    • 1970-01-01
    • 1970-01-01
    • 2014-07-15
    • 2021-07-24
    相关资源
    最近更新 更多