Commit ea6ed3bb authored by rockyl's avatar rockyl

push

parent 47a0039d
......@@ -125,7 +125,7 @@ gulp.task('watch', function () {
livereload.listen({
quiet: true,
});
gulp.watch(['src/**', 'resource/**/*.+(scene|pfb)'], ['compile']);
gulp.watch(['src/**/*.+(ts|js)', 'assets/**/*.+(ts|scene|pfb)'], ['compile']);
});
gulp.task('dev', ['compile', 'watch'], function (cb) {
......
......@@ -8,8 +8,7 @@ const {loadGulpFile, startGulpTask, setTsConfig} = require('./gulp-helper');
const gulpFile = path.resolve(__dirname, 'dev-config', 'gulpfile.js');
loadGulpFile(gulpFile);
const {name} = require(path.resolve('./project.json'));
console.log(name);
const {manifest: {name}} = require(path.resolve('./package.json'));
exports.runGulp = function (task) {
return new Promise((resolve, reject)=>{
......
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