-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't seem to work in OSX #35
Comments
I think that this has to do with There's really no way to check if the gulp version you're running from sublime is correct ( I think I'll add something like that later ), but you can force your env vars with exec_args. I have little time on my hands lately but I'm intending to support If you don't mind, how is your gulp project setup?, do you have a |
Hello again! I'm working on a new command to run an arbitrary commands with { "keys": ["KEYS"], "command": "gulp", "args": { "task_name": "", "task_flag": "-v" } } Still, I can't seem to recreate the error, my local setup: gulpfile.js 'use strict';
var gulp = require('gulp');
require('require-dir')('./gulp');
gulp.task('default', ['clean'], function() {
gulp.start('clean');
}); ./gulp/clean.js var gulp = require('gulp'),
rimraf = require('rimraf');
gulp.task('clean', function() {
rimraf.sync('www/dist/main.js');
rimraf.sync('www/dist/main.min.js');
}); Preferences -> Package Settings -> Gulp -> Settings - User (this might not be necessary or different for your environment) {
"exec_args": {
"path": "/bin:/usr/bin:/usr/local/bin"
}
} After picking Running 'clean'...
[12:53:39] Using gulpfile ~/path/gulpfile.js
[12:53:39] Starting 'clean'...
[12:53:39] Finished 'clean' after 966 μs So! Things you could try:
If that does not work, please let me know what is inside your Let me know and thanks! |
This should be working as of Version 5 (v5.0.0). |
My Gulp file
I can see the package is loaded.
But when I try to run Gulp, I still get the errors
Is there any way to check and run the commands directly in sublime, to make sure that it has detected the right versions and environment variables needed to run Gulp? I have installed SublimeFixMacPath.
The text was updated successfully, but these errors were encountered: