kevin-montrose / More

A CSS Compiler
Microsoft Public License
42 stars 4 forks source link

FileMonitor / On the fly recompilation #14

Closed kevin-montrose closed 12 years ago

kevin-montrose commented 12 years ago

A bit of a bigger task, but the REPL needs to get tightened up in More.

Currently you have to recompile after each change, More should support a built-in way to say "run this compilation once, and then recompile the necessary bits every time a relevant file changes".

Presumably a command line switch.

At a minimum changes to referenced .more files, parts of @sprites(), @included files, and @imported files should trigger recompilation.

It's worthwhile to minimize the number of parts actually rebuilt, so a dependency focused approach is probably the way to go.