All Projects → johnno1962 → Hotreloading

johnno1962 / Hotreloading

Licence: mit
Hot reloading as a Swift Package

Programming Languages

javascript
184084 projects - #8 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to Hotreloading

Hr4r
Example project - "Hot Reloading 4 RequireJS" front-end web applications & some extra code demonstrating hot-reloading for Node.js Express servers
Stars: ✭ 28 (-75.86%)
Mutual labels:  hot-reload
Universal Hmr Ssr React Redux
⚡A Universal Javascript App Utilizing Express, Webpack, React, Redux and React Router with Server Side Rendering and Hot Module Reloading ⚡
Stars: ✭ 60 (-48.28%)
Mutual labels:  hot-reload
Babel Plugin Functional Hmr
Babel plugin enables HMR for functional components in React Native.
Stars: ✭ 100 (-13.79%)
Mutual labels:  hot-reload
Hot Reload.vim
A (Neo)vim plugin for Flutter to automatically hot reload the project every time a file is saved
Stars: ✭ 33 (-71.55%)
Mutual labels:  hot-reload
Gracehttp
graceful http server for golang. (平滑重启)
Stars: ✭ 54 (-53.45%)
Mutual labels:  hot-reload
Live.avalonia
In-app live reloading for Avalonia applications.
Stars: ✭ 71 (-38.79%)
Mutual labels:  hot-reload
Webpack Dev Server
Serves a webpack app. Updates the browser on changes. Documentation https://webpack.js.org/configuration/dev-server/.
Stars: ✭ 7,250 (+6150%)
Mutual labels:  hot-reload
Sass Vars Loader
Use Sass variables defined in Webpack config or in external Javascript or JSON files
Stars: ✭ 112 (-3.45%)
Mutual labels:  hot-reload
Vue2 Web
酷我音乐—vue2、vue-router2、webpack2框架
Stars: ✭ 54 (-53.45%)
Mutual labels:  hot-reload
Cssfx
Allow runtime modification of JavaFX CSS
Stars: ✭ 95 (-18.1%)
Mutual labels:  hot-reload
React Pwa Webpack Starter
Boilerplate to build a React PWA with Webpack + Workbox
Stars: ✭ 38 (-67.24%)
Mutual labels:  hot-reload
Boot Figreload
Boot task providing live-reload using Fighweel client
Stars: ✭ 50 (-56.9%)
Mutual labels:  hot-reload
Boot Reload
Boot task providing live-reload of browser css, images, etc.
Stars: ✭ 90 (-22.41%)
Mutual labels:  hot-reload
Got Reload
Reload Go code in a running process at function/method level granularity, using Yaegi
Stars: ✭ 29 (-75%)
Mutual labels:  hot-reload
Next Express Bootstrap Boilerplate
⚡️ JavaScript boilerplate for a full stack app built using React.js, Next.js, Express.js, react-bootstrap, SCSS and full SSR with eslint.
Stars: ✭ 102 (-12.07%)
Mutual labels:  hot-reload
Hot Loader Demo
React Hot Loader 3 minimal demo
Stars: ✭ 27 (-76.72%)
Mutual labels:  hot-reload
Extracted Loader
It reloads extracted stylesheets extracted with ExtractTextPlugin
Stars: ✭ 67 (-42.24%)
Mutual labels:  hot-reload
Universal React Redux
🧐 A sensible universal starter kit for React + Redux
Stars: ✭ 112 (-3.45%)
Mutual labels:  hot-reload
Node Hot Loader
Hot module replacement (hot reload) for Node.js applications. Develop without server restarting.
Stars: ✭ 111 (-4.31%)
Mutual labels:  hot-reload
Molecule
⚛️ – :atom: – ⚛️ Boilerplate for cross platform web/native react apps with electron.
Stars: ✭ 95 (-18.1%)
Mutual labels:  hot-reload

Yes, HotReloading for Swift & Objective-C

The InjectionIII app available as a Swift Package. i.e.:

Icon

Then you can do this... Icon

To try out an example project that is already set-up, clone this fork of SwiftUI-Kit.

To use on your project, add this repo as a Swift Package to your project and add the following "Run Script" "Build Phase":

if [ -d $SYMROOT/../../SourcePackages ]; then
    $SYMROOT/../../SourcePackages/checkouts/HotReloading/start_daemon.sh
elif [ -d "$SYMROOT"/../../../../../SourcePackages ]; then
    "$SYMROOT"/../../../../../SourcePackages/checkouts/HotReloading/fix_previews.sh
fi

You should see a message that the app has connected and which directories it is watching for source file changes. This script also patches your project slightly to add the required "-Xlinker -interposable" "Other Linker Flags" so you will have to run the project a second time after adding HotReloading and the daemon script build phase for hot reloading to start working.

Consult the REAME of the InjectionIII project for more information in paticular how to use it to inject SwiftUI using the HotSwiftUI protocol extension. It's the same code but you no longer need to download or run the app and the project is selected automatically.

If you want to work on the hot reloading code, clone this repo and drag its directory into your project in Xcode and it will take the place of the configured HotReloading Swift Package when you build your app.

Thanks to...

The App Tracing functionality uses the OliverLetterer/imp_implementationForwardingToSelector trampoline implementation via the SwiftTrace project under an MIT license.

SwiftTrace uses the very handy https://github.com/facebook/fishhook as an alternative to dyld_dynamic_interpose. See the project source and header file included in the app bundle for licensing details.

This project includes code for video capture adapted from acj/TimeLapseBuilder-Swift

This release includes a very slightly modified version of the excellent canviz library to render "dot" files in an HTML canvas which is subject to an MIT license. The changes are to pass through the ID of the node to the node label tag (line 212), to reverse the rendering of nodes and the lines linking them (line 406) and to store edge paths so they can be coloured (line 66 and 303) in "canviz-0.1/canviz.js".

It also includes CodeMirror JavaScript editor for the code to be evaluated in the Xprobe browser under an MIT license.

$Date: 2021/03/10 $

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].