Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd TypeScript, catch bugs #256
Conversation
| render() { | ||
| let line = parseInt(this.props.line); | ||
| let onclick = null, | ||
| let onclick = () => {}, |
This comment has been minimized.
This comment has been minimized.
| cls = ""; | ||
| if (!this.props.file || !line) { | ||
| line = ""; | ||
| line = 0; |
This comment has been minimized.
This comment has been minimized.
| @@ -1,14 +1,22 @@ | |||
| import Actions from "./Actions.js"; | |||
| import React from "react"; | |||
| import CopyToClipboard from "./CopyToClipboard.jsx"; | |||
| import MemoryLink from "./MemoryLink.jsx" | |||
This comment has been minimized.
This comment has been minimized.
|
Thank you for this! It's amazing. A couple things:
Is this expected? |
|
Hey @cs01! I just came back from vacation.
That's definitely longer than expected. Will take a look in the next 1-2 weeks.
Looks like I misconfigured something in Webpack. Will take a look at that one too, probably a 1-liner. |
|
@cs01 Updated! |
|
Thanks! Will take a look when I get the time. |
|
I tried it out. It builds with no errors, and finds type errors while it's watching with The build time went from 5814ms to ~30 for intial build, but incremental builds are only ~1 second, so I can live with that. It looks like the source maps were removed, was there a reason for that? I would prefer to keep them if possible. |
|
Looking around some more, and it seems like the watcher is a little flaky. have you encountered this? I'm not sure if it's something wrong with my setup or not. If I run
but when I change a file, nothing happens. I saw this earlier, but killed the |
|
Thanks again @bcherny! |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

bcherny commentedJan 9, 2019
•
edited
This PR:
Tests pass, but I'd love help testing this end to end. It's likely that this doesn't work at runtime yet, and will require a little more tweaking.