Skip to content

The heart of LiveReload: file monitoring, analysis and tool invocation

Notifications You must be signed in to change notification settings

livereload/livereload-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveReload core logic

A work in progress. Powers LiveReload for Windows v0.5+ and LiveReload for Mac 3.0+.

Handles (or will handle):

  • project analysis (imports, Compass detection)
  • compiler and postprocessor invocation
  • extracting errors/warnings from the compiler output
  • issuing browser refresh commands
  • saving changes made in Chrome Web Inspector
  • etc

Does not handle:

  • storing the list of projects
  • listening for and handling browser connections
  • command-line or any other UI
  • bundling standard plugins (LESS, Sass, etc)
  • bundling Node or Ruby runtimes

Basically the idea is that livereload-core is an ‘embeddable’ part of LiveReload, which can be assembled to do everything that LiveReload does, but makes no assumptions about the overall app environment like packaging, app type (GUI / command-line) and bundled stuff.

License

© 2012, Andrey Tarantsov, distributed under the Open Community Indie Software License.

Note that the license limits redistribution of this code, so you probably don't want to use it in public apps. Please contact me if you have a use for this module; I might reconsider the license, extract some pieces or suggest another option.

About

The heart of LiveReload: file monitoring, analysis and tool invocation

Resources

Stars

Watchers

Forks

Packages

No packages published