aboutsummaryrefslogtreecommitdiff
path: root/src/http/websocket.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-1/+1
2022-06-22Sending worksGravatar Jarred Sumner 1-11/+17
2022-06-22implement a custom websocket clientGravatar Jarred Sumner 1-3/+20
2022-03-25[bun.js] configuration and error handling for HTTP serverGravatar Jarred Sumner 1-1/+3
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-10/+10
2022-03-06source maps work for app code in `bun dev`!Gravatar Jarred Sumner 1-16/+11
2022-01-03dead codeGravatar Jarred Sumner 1-1/+0
2022-01-01[bun dev] Improve filesystem watcher & HMR reliability (Linux + a little macOS)Gravatar Jarred SUmner 1-1/+1
Text editors like Replit save through atomic file updates. In an inotify filesystem watcher (Linux), that appears to be a delete followed by moving the file to the directory. Now when known files are moved into a directory, the watcher sends the file change notification to the browser(s). From there, the browser looks at it's files to determine whether or not Additionally, if an existing HMR connection does not know about a file ID passed to it, it asks the browser to reply with the file path and then starts watching that file. This improves HMR reliabiality if Bun had been restarted but the page hadn't been restarted.
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-32/+12
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-06-18CSS HMR!Gravatar Jarred Sumner 1-8/+8
Former-commit-id: 3f10c8790629ab157d9377759cc50a4b962cc6f4
2021-06-14extremely close!!!!!Gravatar Jarred Sumner 1-5/+50
Former-commit-id: 44fce3c5e800f3fb3fbc139a38f14eae9e0c0225
2021-06-11lil websocket serverGravatar Jarred Sumner 1-0/+310
Former-commit-id: 19f4c59b4281bd24130a6898e3b43d9d6d7e6603