Comments (5)
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.
Instead of
ts-loader
I'm usingawesome-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.
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.
I think this can be closed now
from screeps-typescript-starter.
from screeps-typescript-starter.
Related Issues (20)
- 🙏 Thank you for this project! HOT 1
- Windows-specific build issues of utils HOT 10
- Bump source-map dependency HOT 6
- Why do we run unit/integration mocha tests through Rollup? HOT 2
- Can't access role from CreeperMemory HOT 8
- Remove types.d.ts HOT 3
- Unable to run unit tests (Types not found, neither mine nor Screeps) HOT 2
- Remove TSLint from the documentation
- Support for Node.JS v14 HOT 3
- Error: Unknown module 'utils/ErrorMapper' HOT 7
- Using Object.defineProperty on prototypes causes the tests to fail to build HOT 2
- Source Map dosen't work in some scenarios. Possible fix. HOT 4
- Code Coverage
- VSCode shows error when executed via file-watcher
- Remove obsolete prettier/@typescript-eslint for eslint ^8.0.0 HOT 1
- Hello! I would like to be part of the community
- Contain an workflow push code to screeps
- rollup not working HOT 8
- rollup (still) not working - cannot find module 'node:process' HOT 1
- Feature Request: Default setup for local dev
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from screeps-typescript-starter.