Skip to content
/ fsrun Public

fsrun is a simple high order lein task that run some other tasks when a file modification occurs

License

Notifications You must be signed in to change notification settings

makkalot/fsrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fsrun

fsrun is a simple high order lein task that run some other tasks when a file modification occurs. There is no need to write your own file notifier plugin anymore :)

Usage

Use this for user-level plugins:

Put [fsrun "0.1.2"] into the :plugins vector of your :user profile, or if you are on Leiningen 1.x do lein plugin install testrun 0.1.2.

Use this for project-level plugins:

Put [fsrun "0.1.2"] into the :plugins vector of your project.clj.

Originally i've created it to be able to run my clojurescript tests automatically on file change:

$ lein fschange /compiled/js/file.js cljsbuild test

fsrun accepts also globbing path so you can

$ lein fschange "/compiled/js/*.js" cljsbuild test

Note That we used double quotes around globbing path, it is required for now because of shell expansion that occurs(Till we made it accept more than one paths on command line).

License

Distributed under the Eclipse Public License, the same as Clojure.

About

fsrun is a simple high order lein task that run some other tasks when a file modification occurs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published