Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated README

  • Loading branch information...
commit d7f5a883465de04fba4d17ad712e84029350b1a4 1 parent d8c9cd3
@slagyr authored
Showing with 17 additions and 16 deletions.
  1. +12 −11 .idea/workspace.xml
  2. +3 −3 README.md
  3. +2 −2 src/fresh/core.clj
View
23 .idea/workspace.xml
@@ -3,6 +3,7 @@
<component name="ChangeListManager">
<list default="true" id="03642ea4-a265-4aa6-855d-576f3c2ddd52" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/fresh/core.clj" afterPath="$PROJECT_DIR$/src/fresh/core.clj" />
</list>
<ignored path="fresh.iws" />
<ignored path=".idea/workspace.xml" />
@@ -82,7 +83,7 @@
<file leaf-file-name="README.md" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="text-editor">
- <state line="25" column="0" selection-start="929" selection-end="929" vertical-scroll-proportion="0.4608295">
+ <state line="34" column="6" selection-start="1102" selection-end="1885" vertical-scroll-proportion="0.516129">
<folding />
</state>
</provider>
@@ -100,7 +101,7 @@
<file leaf-file-name="core.clj" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/fresh/core.clj">
<provider selected="true" editor-type-id="text-editor">
- <state line="22" column="51" selection-start="800" selection-end="800" vertical-scroll-proportion="0.0">
+ <state line="199" column="24" selection-start="7801" selection-end="7801" vertical-scroll-proportion="0.0">
<folding />
</state>
</provider>
@@ -144,10 +145,10 @@
<option value="$PROJECT_DIR$/example/one.clj" />
<option value="$PROJECT_DIR$/example/two.clj" />
<option value="$PROJECT_DIR$/example/console.clj" />
- <option value="$PROJECT_DIR$/src/fresh/core.clj" />
<option value="$PROJECT_DIR$/example/timed.clj" />
<option value="$PROJECT_DIR$/project.clj" />
<option value="$PROJECT_DIR$/README.md" />
+ <option value="$PROJECT_DIR$/src/fresh/core.clj" />
</list>
</option>
</component>
@@ -511,13 +512,6 @@
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/src/fresh/core.clj">
- <provider selected="true" editor-type-id="text-editor">
- <state line="22" column="51" selection-start="800" selection-end="800" vertical-scroll-proportion="0.0">
- <folding />
- </state>
- </provider>
- </entry>
<entry file="file://$PROJECT_DIR$/example/console.clj">
<provider selected="true" editor-type-id="text-editor">
<state line="30" column="2" selection-start="664" selection-end="664" vertical-scroll-proportion="0.0">
@@ -539,9 +533,16 @@
</state>
</provider>
</entry>
+ <entry file="file://$PROJECT_DIR$/src/fresh/core.clj">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="199" column="24" selection-start="7801" selection-end="7801" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
+ </provider>
+ </entry>
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="text-editor">
- <state line="25" column="0" selection-start="929" selection-end="929" vertical-scroll-proportion="0.4608295">
+ <state line="34" column="6" selection-start="1102" selection-end="1885" vertical-scroll-proportion="0.516129">
<folding />
</state>
</provider>
View
6 README.md
@@ -36,10 +36,10 @@ The primary function is `freshener`.
the freshness of all files provided by the provider function.
The provider must be a no-arg function that returns a seq of java.io.File
objects. If any of the files have been modified, they (and all
- thier dependent files), will be reloaded. New files will be loaded and
+ their dependent files), will be reloaded. New files will be loaded and
tracked. Deleted files will be unloaded along with any dependant files
that are no longer referenced. The freshener function returns a report map
- of seqs containings File objects: {:new :modified :deleted :reloaded}.
+ of seqs containing File objects: {:new :modified :deleted :reloaded}.
The optional auditor function is called, passing in the report map,
before the state of the runtime has been modified. Only when the auditor
returns a truthy value will the runtime be modified.
@@ -49,7 +49,7 @@ The primary function is `freshener`.
### Example #1
Below is a script that will reload all the Clojure source files in the src and spec directories. It sits in an infinite
-loop on the console waiting for you to press Enter. Each time you press Enter, it printes a report and reloads. Simple!
+loop on the console waiting for you to press Enter. Each time you press Enter, it prints a report and reloads. Simple!
(ns console
(:use
View
4 src/fresh/core.clj
@@ -195,10 +195,10 @@
the freshness of all files provided by the provider function.
The provider must be a no-arg function that returns a seq of java.io.File
objects. If any of the files have been modified, they (and all
-thier dependent files), will be reloaded. New files will be loaded and
+their dependent files), will be reloaded. New files will be loaded and
tracked. Deleted files will be unloaded along with any dependant files
that are no longer referenced. The freshener function returns a report map
-of seqs containings File objects: {:new :modified :deleted :reloaded}.
+of seqs containing File objects: {:new :modified :deleted :reloaded}.
The optional auditor function is called, passing in the report map,
before the state of the runtime has been modified. Only when the auditor
returns a truthy value will the runtime be modified."
Please sign in to comment.
Something went wrong with that request. Please try again.