Commit 9099119f by Torkel Ödegaard

grunt: minor watch fix

parent 9bdcc4ec
...@@ -54,19 +54,12 @@ module.exports = function(config, grunt) { ...@@ -54,19 +54,12 @@ module.exports = function(config, grunt) {
grunt.task.run('css'); grunt.task.run('css');
} }
// if (/(\.ts)$/.test(filepath)) { if (/(\.ts)$/.test(filepath)) {
// newPath = filepath.replace(/^public/, 'public_gen'); newPath = filepath.replace(/^public/, 'public_gen');
// grunt.log.writeln('Copying to ' + newPath); grunt.log.writeln('Copying to ' + newPath);
// grunt.file.copy(filepath, newPath); grunt.file.copy(filepath, newPath);
// grunt.task.run('exec:tslint');
// // copy ts file also used by source maps }
// //changes changed file source to that of the changed file
// grunt.config('typescript.build.src', filepath);
// grunt.config('tslint.source.files.src', filepath);
//
// grunt.task.run('exec:tscompile');
// grunt.task.run('exec:tslint');
// }
done(); done();
firstRun = false; firstRun = false;
......
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