GithubHelp home page GithubHelp logo

Comments (17)

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

try

gulp test -w

from angular-starter.

darxx avatar darxx commented on July 19, 2024

Is it included in documentation?

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

https://github.com/antonybudianto/angular2-starter/wiki/Gulp-Tasks#test

also in
https://github.com/antonybudianto/angular2-starter/releases

from angular-starter.

darxx avatar darxx commented on July 19, 2024

Browser sync is not active after this command.

from angular-starter.

darxx avatar darxx commented on July 19, 2024

Server is not started.

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

what are the error traces?

from angular-starter.

darxx avatar darxx commented on July 19, 2024

after gulp test -w
http://localhost:3000/
http://prntscr.com/bfquzn

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

maybe it's because there's already a watch in test -w, but you run serve-dev again which contains watches (sass, ts)

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

looks like you're not supposed to run gulp test -w and gulp serve-dev together since it'll be double watch

from angular-starter.

darxx avatar darxx commented on July 19, 2024

So in case of gulp test -w and gulp serve-dev running in the same time http://screencast.com/t/UClqJWTsVD
http://screencast.com/t/M8NJZDuFju

from angular-starter.

darxx avatar darxx commented on July 19, 2024

How I can run server and unit test together?

from angular-starter.

darxx avatar darxx commented on July 19, 2024

Or single gulp task for this case?

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

I don't think it's possible now

from angular-starter.

darxx avatar darxx commented on July 19, 2024

Thus it remains a proposal for the future.

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

Of course, any help will be nice

from angular-starter.

darxx avatar darxx commented on July 19, 2024

Thank You.

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

actually you can run gulp serve-dev / gulp first, then do gulp test -w and no errors raised. doing it vice versa will cause error because gulp serve-dev will cleanup all things and the test watch will be triggered because of that

from angular-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.