express-tsx
Advanced tools
Comparing version 4.2.7 to 4.2.8
@@ -0,0 +0,0 @@ # Change Log |
@@ -71,7 +71,2 @@ "use strict"; | ||
this.watch = (file) => { | ||
let lastScriptVersion = this.getScriptVersion(file); | ||
let nowScriptVersion = this.updateScriptVersion(file); | ||
if (nowScriptVersion === lastScriptVersion) { | ||
return; | ||
} | ||
this.watcher.emit('update', file); | ||
@@ -78,0 +73,0 @@ }; |
{ | ||
"name": "express-tsx", | ||
"version": "4.2.7", | ||
"version": "4.2.8", | ||
"description": "express view engine to render tsx file", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,0 +0,0 @@ |
@@ -81,7 +81,2 @@ import ts = require('typescript') | ||
watch = (file)=>{ | ||
let lastScriptVersion = this.getScriptVersion(file) | ||
let nowScriptVersion = this.updateScriptVersion(file) | ||
if( nowScriptVersion === lastScriptVersion ){ | ||
return | ||
} | ||
this.watcher.emit('update',file) | ||
@@ -88,0 +83,0 @@ } |
@@ -0,0 +0,0 @@ import express = require('express') |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ |
@@ -0,0 +0,0 @@ import path = require('path') |
@@ -0,0 +0,0 @@ { |
@@ -1,1 +0,1 @@ | ||
requirejs.config({"waitSeconds":7,"baseUrl":"D:/express-tsx/node_modules/mocha/bin/","paths":{"requirejs":"https://unpkg.com/requirejs@2.3.4/require.js#","react":"https://unpkg.com/react@15.6.1/dist/react.js#","react-dom":"https://unpkg.com/react-dom@15.6.1/dist/react-dom.js#","css":"https://unpkg.com/require-css@0.1.10/css.min.js#","es6-shim":"https://unpkg.com/es6-shim@0.35.3/es6-shim.min.js#","redux":"https://unpkg.com/redux@3.7.2/dist/redux.min.js#","react-redux":"https://unpkg.com/react-redux@5.0.5/dist/react-redux.min.js#","event-source-polyfill":"https://unpkg.com/event-source-polyfill@0.0.9/eventsource.min.js#","browserInitPath":"D:\\express-tsx\\static\\browser.init.ts","requirejsConfigPath":"D:\\express-tsx\\static\\requirejs.browser.config.ts"},"bundles":{},"pkgs":{},"shim":{"react":{"deps":["es6-shim"]}},"config":{}}) | ||
requirejs.config({"waitSeconds":7,"baseUrl":"W:/express-tsx/node_modules/mocha/bin/","paths":{"requirejs":"https://unpkg.com/requirejs@2.3.4/require.js#","react":"https://unpkg.com/react@15.6.1/dist/react.js#","react-dom":"https://unpkg.com/react-dom@15.6.1/dist/react-dom.js#","css":"https://unpkg.com/require-css@0.1.10/css.min.js#","es6-shim":"https://unpkg.com/es6-shim@0.35.3/es6-shim.min.js#","redux":"https://unpkg.com/redux@3.7.2/dist/redux.min.js#","react-redux":"https://unpkg.com/react-redux@5.0.5/dist/react-redux.min.js#","event-source-polyfill":"https://unpkg.com/event-source-polyfill@0.0.9/eventsource.min.js#","browserInitPath":"W:\\express-tsx\\static\\browser.init.ts","requirejsConfigPath":"W:\\express-tsx\\static\\requirejs.browser.config.ts"},"bundles":{},"pkgs":{},"shim":{"react":{"deps":["es6-shim"]}},"config":{}}) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53212
782