Permalink
Browse files

Assuring runtime.json file exists before watching

  • Loading branch information...
1 parent 213655b commit d329ff6c42b411e215a76796beea1c0f20f04ed2 Loren West committed Apr 26, 2012
View
@@ -1,3 +1,8 @@
+0.4.13 / 2012-04-25
+===================
+
+ * Assuring the runtime.json file exists. Undocumented fs.watch() requirement.
+
0.4.12 / 2012-04-25
===================
@@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test 1-protected-test.js </title>
- <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1329362514.09" />
- <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1329362514.09" />
+ <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1335400935.57" />
+ <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1335400935.57" />
- <script type="text/javascript" src="assets/api-js?stamp=1329362514.09"></script>
- <script type="text/javascript" src="assets/ac-js?stamp=1329362514.09"></script>
+ <script type="text/javascript" src="assets/api-js?stamp=1335400935.57"></script>
+ <script type="text/javascript" src="assets/ac-js?stamp=1335400935.57"></script>
</head>
<body id="node-monitor">
@@ -416,7 +416,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
-<span class="subtitle">version 0.4.11</span>
+<span class="subtitle">version 0.4.13</span>
</div>
</div>
<script type="text/javascript">
View
@@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test 2-config-test.js </title>
- <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1329362514.09" />
- <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1329362514.09" />
+ <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1335400935.57" />
+ <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1335400935.57" />
- <script type="text/javascript" src="assets/api-js?stamp=1329362514.09"></script>
- <script type="text/javascript" src="assets/ac-js?stamp=1329362514.09"></script>
+ <script type="text/javascript" src="assets/api-js?stamp=1335400935.57"></script>
+ <script type="text/javascript" src="assets/ac-js?stamp=1335400935.57"></script>
</head>
<body id="node-monitor">
@@ -302,7 +302,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
-<span class="subtitle">version 0.4.11</span>
+<span class="subtitle">version 0.4.13</span>
</div>
</div>
<script type="text/javascript">
View
@@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>config Config </title>
- <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1329362514.15" />
- <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1329362514.15" />
+ <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1335400935.6" />
+ <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1335400935.6" />
- <script type="text/javascript" src="assets/api-js?stamp=1329362514.15"></script>
- <script type="text/javascript" src="assets/ac-js?stamp=1329362514.15"></script>
+ <script type="text/javascript" src="assets/api-js?stamp=1335400935.6"></script>
+ <script type="text/javascript" src="assets/ac-js?stamp=1335400935.6"></script>
</head>
<body id="node-monitor">
@@ -599,8 +599,10 @@ <h4>
.json = File is parsed using JSON.parse()
.coffee = File to run that has a module.exports with coffee-script containing the config object
.yaml = Parsed with a YAML parser
-If the file doesn't exist, a null will be returned.
-If the file can't be parsed, an exception will be thrown.
+If the file doesn't exist, a null will be returned. If the file can't be
+parsed, an exception will be thrown.
+This method performs synchronous file operations, and should not be called
+after synchronous module loading.
</div>
<div class="description">
@@ -1249,7 +1251,7 @@ <h4>
<p>
This method allows you to change the polling interval from the default
interval (2.5 seconds), or to turn file watching off. On Linux systems with
-inotify, this interval is ignored.
+inotify, and in node.js versions 0.6 and above, this interval is ignored.
</p>
</div>
@@ -1354,7 +1356,7 @@ <h4>Methods</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
-<span class="subtitle">version 0.4.11</span>
+<span class="subtitle">version 0.4.13</span>
</div>
</div>
<script type="text/javascript">
View
@@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test ConfigTest </title>
- <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1329362514.09" />
- <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1329362514.09" />
+ <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1335400935.57" />
+ <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1335400935.57" />
- <script type="text/javascript" src="assets/api-js?stamp=1329362514.09"></script>
- <script type="text/javascript" src="assets/ac-js?stamp=1329362514.09"></script>
+ <script type="text/javascript" src="assets/api-js?stamp=1335400935.57"></script>
+ <script type="text/javascript" src="assets/ac-js?stamp=1335400935.57"></script>
</head>
<body id="node-monitor">
@@ -120,7 +120,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
-<span class="subtitle">version 0.4.11</span>
+<span class="subtitle">version 0.4.13</span>
</div>
</div>
<script type="text/javascript">
View
@@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test ProtectedTest </title>
- <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1329362514.09" />
- <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1329362514.09" />
+ <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1335400935.57" />
+ <link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1335400935.57" />
- <script type="text/javascript" src="assets/api-js?stamp=1329362514.09"></script>
- <script type="text/javascript" src="assets/ac-js?stamp=1329362514.09"></script>
+ <script type="text/javascript" src="assets/api-js?stamp=1335400935.57"></script>
+ <script type="text/javascript" src="assets/ac-js?stamp=1335400935.57"></script>
</head>
<body id="node-monitor">
@@ -120,7 +120,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
-<span class="subtitle">version 0.4.11</span>
+<span class="subtitle">version 0.4.13</span>
</div>
</div>
<script type="text/javascript">
Oops, something went wrong.

0 comments on commit d329ff6

Please sign in to comment.