basisjs-tools
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -27,3 +27,3 @@ | ||
{ | ||
command.base = path.resolve(config._configPath); | ||
command.base = path.resolve(config._configPath || ''); | ||
if ('l10n' in config) | ||
@@ -30,0 +30,0 @@ command.l10n = !!config.l10n; |
@@ -420,2 +420,3 @@ | ||
var textFile = /^text\/|^application\/(javascript|json|.+\+xml$)/.test(contentType); | ||
var extname = path.extname(filename); | ||
@@ -433,3 +434,7 @@ return function(err, data){ | ||
if (!file) | ||
file = fileMap[fnKey] = {}; | ||
file = fileMap[fnKey] = { | ||
mtime: fileStat.mtime, | ||
hotStart: hotStartExtensions.indexOf(extname) != -1, | ||
notify: notifyExtensions.indexOf(extname) != -1 | ||
}; | ||
@@ -457,3 +462,3 @@ file.fn = fnKey; | ||
&& !fres.internal | ||
&& hotStartExtensions.indexOf(path.extname(filename)) != -1 | ||
&& file.hotStart != -1 | ||
&& ignorePathes.indexOf(path.normalize(filename)) == -1 | ||
@@ -460,0 +465,0 @@ && (!options.dotFilenameIgnore || path.basename(filename).charAt(0) != '.')) |
@@ -24,3 +24,5 @@ | ||
{ | ||
config.base = path.resolve(config._configPath, config.base || ''); | ||
if (config._configPath) | ||
config.base = path.resolve(config._configPath, config.base || ''); | ||
for (var key in config) | ||
@@ -69,3 +71,3 @@ { | ||
function norm(options){ | ||
options.base = path.normalize(path.resolve(options.base) + '/'); // [base] | ||
options.base = path.normalize(path.resolve(options.base || '') + '/'); // [base] | ||
@@ -72,0 +74,0 @@ if (!options.cache) |
{ | ||
"name": "basisjs-tools", | ||
"title": "Basis developer tools", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"homepage": "https://github.com/basisjs/basisjs-tools", | ||
@@ -40,3 +40,3 @@ "description": "Developer tools for basis.js framework", | ||
"uglify-js": "~1.3.0", | ||
"socket.io": "~0.9.9", | ||
"socket.io": "~0.9.13", | ||
"mime": "~1.2.6", | ||
@@ -43,0 +43,0 @@ "jsdom-nocontextifiy": "~0.2.10", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
348261
10377
Updatedsocket.io@~0.9.13