
- #SELECT2 AJAX LIVERELOAD FOR MAC#
- #SELECT2 AJAX LIVERELOAD INSTALL#
- #SELECT2 AJAX LIVERELOAD CODE#
Check that it works for you, but be sure to not commit updates to any other plugins together with your plugin. It should be very easy, see the bottom of the script. if you modify Rakefile to automatically pull the updates in the future.
Bonus points (and actually an easier way to do step 1. SLIM.lrplugin/lib/slim/lib, SLIM.lrplugin/lib/slim/bin etc. You need to copy any dependencies as well for example, for SLIM we end up with SLIM.lrplugin/lib/temple, SLIM.lrplugin/lib/tilt and SLIM.lrplugin/lib/slim.
Copy any gems your compiler requires into 'Whatever.lrplugin/lib/whatever'. Commit your plugin ( git add Whatever.lrplugin git commit). Create a Git branch for your plugin ( git checkout -b whatever). Skip this step if you're not comfortable doing it right. Bonus points if you modify Rakefile to automatically pull the updates in the future. #SELECT2 AJAX LIVERELOAD INSTALL#
Run npm install whatever to save the required npm module into 'Whatever.lrplugin/node_modules/whatever'. Create a subdirectory for your plugin (Whatever.lrplugin), cd into it. #SELECT2 AJAX LIVERELOAD FOR MAC#
Use free GitHub for Mac if you're not a Git pro.
Fork this repository on GitHub then clone your fork, if not already done so. you can override a bundled plugin by putting a copy in one of the Library folders, and plugins in ~/Library override the ones found in ~/Dropbox/Library.) Developing a plugin (The directories are consulted in that order, i.e. Just drop the plugin (Something.lrplugin) into one of the Library folders and restart LiveReload. LiveReload looks for plugins in the following folders: You need LiveReload 2.0 β7 or later to use plugins. If you're on OS X, you can use Homebrew, but see issue 14123 basically, you want to do something like this before running Rake:Įxport PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig To install node-canvas for Stylus, you'll need Cairo installed. To add your plugin, please fork this repository, commit the plugin into a separate branch and send us a pull request. The following user-contributed plugins are available, but NOT bundled with LiveReload yet: The following user-contributed plugins are currently bundled with LiveReload: The following plugins maintained by the LiveReload team are currently bundled with LiveReload: Developing one for your favorite compiler is crazy-simple. #SELECT2 AJAX LIVERELOAD CODE#
Plugins do NOT use any Objective-C code (actually, no code at all at this point, although we plan to allow Ruby/JavaScript later). We intend to ship user-contributed plugins with LiveReload when possible (or make them available via in-app download on platforms which allow that). The plugins for most popular compilers are maintained by LiveReload team we encourage you to add support for anything we have missed. LiveReload 2 compilation support is based on plugin design.