Commit 05e3f832 authored by haiyoucuv's avatar haiyoucuv

添加了一行TODO

parent 3e142142
......@@ -9,7 +9,7 @@ const fs = require('fs-extra');
exports.start = function (options) {
const sockets = [];
let watching = false;
fs.watch(options.file + '/temp.ts', {}, (eventType) => {
fs.watch(options.file + '/temp.ts', {}, (eventType) => { /// TODO 监听文件夹 按mate.json中的name同步文件,如没有则新建
if (watching) {
if (eventType === 'change') {
const code = fs.readFileSync(options.file + '/temp.ts', 'utf-8');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment