Skip to content

npm test-watch ignores *.spec.jsx files #9

Open

Description

@FullStackForger

environment: Windows 10

Activity

  1. added this to the 1.0 milestone on Oct 24, 2016
  2. FullStackForger commented on Oct 24, 2016

    @FullStackForger
    OwnerAuthor

    Might be related to mochajs/mocha issue Mocha --watch #2444

  3. FullStackForger commented on Oct 24, 2016

    @FullStackForger
    OwnerAuthor

    Alternative is watch-run but finding it unreliable on windows so far and it doesn't seem to support terminal colors

    watch-run -i -p 'src/**/*' npm test
    
  4. FullStackForger commented on Oct 24, 2016

    @FullStackForger
    OwnerAuthor

    Looks like the problem is with mocha --watch it seem to ignore all *.jsx files

    Alternative no. 2 is renaming all [comp].spec.jsx to [comp].spec.js but that is not good either.

  5. FullStackForger commented on Oct 25, 2016

    @FullStackForger
    OwnerAuthor

    paulmillr/chokidar or testem/testem seems like a good alternatives as suggested by:

    I have to test if it solves the problem described here:
    mochajs/mocha#2444 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions