热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

affected:testalldoesnotwatchchangesinfiles/specs

Pleasemakesureyouhavereadthesubmissionguidelinesbeforepostinganissue

Please make sure you have read the submission guidelines before posting an issue

Prerequisites
  • [y] I am running the latest version

  • [y] I checked the documentation and found no answer

  • [y] I checked to make sure that this issue has not already been filed

  • [y] I'm reporting the issue to the correct repository (not related to Angular, AngularCLI or any dependency)

Expected Behavior


1
yarn affected:test --all

Runs tests for all libs and watches all libs

Current Behavior


1
yarn affected:test --all

Runs tests for all libs and watches only apps

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Create app with several libs

  2. set
    1
    singleRun: false

    in karma.conf.js


  3. run
    1
    yarn affected:test --all


  4. make change in lib

Context

Please provide any relevant information about your setup:

  • version of Nx used - 7.7.2

  • version of Angular CLI used - 7.3.1

I want to set development command to watch changes in files and rerun tests during development. I tried many combinations with

1
affected:

and failed. Do I need to run every lib/app test in separate cmd to make it work as I want to ?

该提问来源于开源项目:nrwl/nx

I'm sorry, but I'm going to close this issue.



If the problem persists, could you reopen the issue with a min repro.


   



推荐阅读
author-avatar
李-小-霞_973
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有