Takayuki Sato

Results 65 comments of Takayuki Sato

@dawidgarus I'm sorry about my bad idea. Your point is just the reason I hadn't presented in the past. BTW, I have a question about your idea. Gulp can combine...

In addition, if we support arguments for tasks, we might need to consider about passing them to tasks via `.gulp.js`, too.

@dawidgarus I've understood. To place a flag after a task name does not mean that the task just before uses the flag but that Gulp just ignores the flag. I'm...

@phated I have a question about this flag. Cli options `--cwd` and `--gulpfile` have relation to each other as follows: ```js $ gulp --cwd aaa/bbb [23:10:19] Working directory changed to...

@phated This behavior about cli options comes from `liftoff`. `env.configPath` (=gulpfile path), `env.configBase` (=gulpfile directory) and `env.cwd` affect each other. No other options used by `liftoff` behave as such.

@phated As @ericchenshine said above, current `flags.gulpfile` in config file doesn't change cwd unlike `--gulpfile` cli option. In addition, `flags.gulpfile` in home dir resolves its relative path with home dir...

1. For changing cwd by `flags.gulpfile`, we should change [lib/shared/config/env-flags.js](https://github.com/gulpjs/gulp-cli/blob/master/lib/shared/config/env-flags.js) to replace `env.cwd` to `env.configBase` when detecting `env.configPath`'s change. 2. For relative path of `flags.gulpfile`, [this path resolving of gulpfile](https://github.com/gulpjs/gulp-cli/blob/master/lib/shared/config/load-files.js#L21)...

Perhaps you need to set `'@capaj/knex'` to `opts.moduleName` of Liftoff constructor.

I updated this pr based on the current `master` branch.

I've modified the above two points about document.