Giter Club home page Giter Club logo

Comments (5)

bastianh avatar bastianh commented on June 15, 2024

I'm sometimes working on an older computer without ssd, and there it is a huge improvement. My current test setup has some drawbacks, so it's not worth sharing.
I currently use gulp only to watch the dist directory to upload and use webpack with watch to compile.
Instead of ts-loader I'm using awesome-typescript-loader... the drawback here is that it compiles code and checks types in a different process... so it might upload broken code which is not that bad for me because I develop on a testserver most of the time. I don't have to wait for the typechecks because I'm using webstorm for that anyways.

ok .. but here some numbers on that 2010 computer I sometimes have to use ;)

initial compiling of project with webpack: 4251ms
recompile from watch when changing a file: 472ms

that's really a huge differerence ;)

from screeps-typescript-starter.

resir014 avatar resir014 commented on June 15, 2024

Instead of ts-loader I'm using awesome-typescript-loader... the drawback here is that
it compiles code and checks types in a different process... so it might upload broken
code which is not that bad for me because I develop on a testserver most of the time

@bastianh Hmm. As much of a large performance change it gives, not sure if I want to sacrifice type checking for it. Do you think it's possible to do so in the standard ts-loader?

from screeps-typescript-starter.

bastianh avatar bastianh commented on June 15, 2024

should be no problem .. the challenge is that with webpack watch mode webpack will not return to gulp .. it will continue running and watching so I guess it needs larger changes to the build system

from screeps-typescript-starter.

bryanbecker avatar bryanbecker commented on June 15, 2024

I think this can be closed now

from screeps-typescript-starter.

resir014 avatar resir014 commented on June 15, 2024

from screeps-typescript-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.