-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should our watch process do more than just transpile? #1173
Comments
+1 for this work! I think that would make a lot of sense, and #1174 could be an awesome enhancement on this. If this was the case, could we have this be a grunt task? Can you |
I have a concern that |
I found that |
If you're measuring that with macOS Activity Monitor... In Activity Monitor, each core/hyperthread accounts for 100%. (Hyperthreading splits each physical core into 2 virtual cores.) This is why you'll frequency see %CPU values > 100%. So you're likely using 70% of 1 core. If you're on an M1 MacBook Pro (8 cores), I believe that's < 10% of the machine's potential. |
Agreed, thanks. @pixelzoom also said on slack:
The near-0.0% CPU of |
Maybe the transpiler process could also run update-copyright-dates, see phetsims/perennial#260 |
Recently the dev team has reported problems using |
False positives and negatives may have been a result of the fact that we were not listing all transitives dependencies in each tsconfig, discussed in #1245. The solution for that issue was to get rid of project references altogether and use a more monolithic approach. I tried using |
I think that our precommit hooks are in a good state. The only reason for a more comprehensive tool like that was to utilize the caching of type checking to speed up the hooks. This caching will occur now with our monolithic type checking. I'm ready to close this. |
I considered generalizing the transpiler watch process so that it triggers (a) transpilation (b) type checking and (c) linting, so we only have one file watcher total, and it can do everything we might want to do.
I have been running tsc --watch separately from transpiler --watch, so for my first consideration it would combine these. @pixelzoom also mentioned he has been running lint a lot, and I considered that it could also be put into a watch process with these.
The text was updated successfully, but these errors were encountered: