Giter VIP home page Giter VIP logo

atom-gulp-control's Introduction

this. is. me.

I build stuff. And hopefully you find some of it useful. If not, let me know via an issue, or even better, get a PR ready and I'll owe you a drink of your choice.

If you want to know a bit more about me, my IPNS-accessible jacogr.info site has some small tidbits.

atom-gulp-control's People

Contributors

acburdine avatar amitmtrn avatar brunosabot avatar jacogr avatar micahzoltu avatar skyrpex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

atom-gulp-control's Issues

Also look in Subfolders

Hey,
I just installed this awesome looking Atom Package.
The only Problem I got is when I have my Gulp Files in a subfolder aren´t loaded.
A Example for my Folder Structure is:

ProjectFolder
|-> client
     |-> gulp
     |-> src
          |-> Files and other stuff
     |-> gulpfile.js
|-> server
     |-> Server Stuff

When I have my gulpfiles and Folder in the Root of Atom everything works fine.
In my Opinion it would be very nice if you can add it that also the Gulp Files in subfolders get loaded.

Beside that I find that idea and so on very nice.
Greetz

Unable to configure for multiple gulpfile.js in a single project

I have the following folder structure

ParentDirectory
|---gulpfile.js
|---ChildDirectory
| |---gulpfile.js
|---ChildDirectory
| |---gulpfile.js

Gulp-control only shows tasks from the first gulpfile. Please provide a way to configure for multiple gulpfiles.

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:55:11)
Object.activate (/Users/Thiago/.atom/packages/gulp-control/lib/gulp-control.coffee:10:9)

Uncaught Error: ENOENT: no such file or directory, scandir 'atom://config'

[Enter steps to reproduce below:]

  1. install gulp-controk
  2. restart
  3. run gulp-control

Atom Version: 1.0.2
System: Mac OS X 10.10.4
Thrown From: gulp-control package, v0.4.2

Stack Trace

Uncaught Error: ENOENT: no such file or directory, scandir 'atom://config'

At fs.js:805

Error: ENOENT: no such file or directory, scandir 'atom://config'
  at Error (native)
  at Object.fs.readdirSync (fs.js:805:18)
  at Object.fs.readdirSync (ATOM_SHELL_ASAR.js:441:28)
  at GulpControlView.module.exports.GulpControlView.getGulpCwd (/Users/carlos/.atom/packages/gulp-control/lib/gulp-control-view.coffee:52:5)
  at GulpControlView.module.exports.GulpControlView.getGulpTasks (/Users/carlos/.atom/packages/gulp-control/lib/gulp-control-view.coffee:77:24)
  at GulpControlView.module.exports.GulpControlView.initialize (/Users/carlos/.atom/packages/gulp-control/lib/gulp-control-view.coffee:33:6)
  at GulpControlView.View (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
  at new GulpControlView (/Users/carlos/.atom/packages/gulp-control/lib/gulp-control-view.coffee:13:3)
  at Object.module.exports.GulpControl.newView (/Users/carlos/.atom/packages/gulp-control/lib/gulp-control.coffee:20:16)
  at atom-workspace.atom.commands.add.gulp-control:toggle (/Users/carlos/.atom/packages/gulp-control/lib/gulp-control.coffee:10:68)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:156:19)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:166:7)

Commands

     -0:00.9.0 gulp-control:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "unity-ui",
      "solarized-dark-syntax"
    ],
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "language-c",
      "language-clojure",
      "language-coffee-script",
      "language-csharp",
      "language-go",
      "language-perl",
      "language-python",
      "language-ruby",
      "language-ruby-on-rails",
      "language-todo",
      "language-toml",
      "language-yaml"
    ]
  }
}

Installed Packages

# User
gulp-control, v0.4.2
pretty-json, v0.4.1
unity-ui, v2.0.11

# Dev
No dev packages

Pane.addItem is deprecated.

Pane::addItem(item, 0) is deprecated in favor of Pane::addItem(item, {index: 0})

Pane.addItem (C:\Users\info_000\AppData\Local\atom\app-1.11.2\resources\app.asar\src\pane.js:447:14)
Object.newView (C:\Users\info_000\.atom\packages\gulp-control\lib\gulp-control.coffee:30:19)
atom-workspace.atom.commands.add.gulp-control:toggle (C:\Users\info_000\.atom\packages\gulp-control\lib\gulp-control.coffee:16:26)
CommandRegistry.handleCommandEvent (C:\Users\info_000\AppData\Local\atom\app-1.11.2\resources\app.asar\src\command-registry.js:260:29)
handleCommandEvent (C:\Users\info_000\AppData\Local\atom\app-1.11.2\resources\app.asar\src\command-registry.js:3:61)
CommandRegistry.dispatch (C:\Users\info_000\AppData\Local\atom\app-1.11.2\resources\app.asar\src\command-registry.js:160:19)

Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: front

steps to reproduce below:

  1. create Gulpfile.js
  2. add task name "serve:front"
  3. try to run that task with gulp control

Atom Version: 0.179.0
System: Microsoft Windows 7 Enterprise
Thrown From: gulp-control package, v0.3.3

Stack Trace

Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: front

At C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:1715

Error: Syntax error, unrecognized expression: unsupported pseudo: front
  at Function.Sizzle.error (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:1715:8)
  at Sizzle.selectors.filter.PSEUDO (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:2018:13)
  at matcherFromTokens (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:2543:44)
  at Sizzle.compile (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:2687:13)
  at select (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:2764:2)
  at Function.Sizzle (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:1154:9)
  at GulpControlView.jQuery.fn.extend.find (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:5163:11)
  at GulpControlView.module.exports.GulpControlView.runGulp (C:\Users\amitmtrn\.atom\packages\gulp-control\lib\gulp-control-view.coffee:119:6)
  at HTMLDivElement.<anonymous> (C:\Users\amitmtrn\.atom\packages\gulp-control\lib\gulp-control-view.coffee:28:17)
  at HTMLDivElement.handler (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\src\space-pen-extensions.js:112:34)
  at HTMLDivElement.jQuery.event.dispatch (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:4681:9)
  at HTMLDivElement.elemData.handle (C:\Users\amitmtrn\AppData\Local\atom\app-0.179.0\resources\app\node_modules\space-pen\vendor\jquery.js:4359:46)

Commands

     -1:00.0 application:open-folder (atom-text-editor.editor)
     -0:58.3 command-palette:toggle (atom-text-editor.editor)
     -0:56.6 core:confirm (atom-text-editor.editor.mini)
     -0:56.5 gulp-control:toggle (atom-text-editor.editor)

Config

{
  "core": {
    "disabledPackages": [
      "language-objective-c",
      "language-c",
      "language-csharp",
      "welcome",
      "jshint",
      "script"
    ],
    "autoHideMenuBar": true
  }
}

Installed Packages

# User
autocomplete-plus, v2.1.6
emmet, v2.3.3
gulp-control, v0.3.3
linter, v0.11.1
linter-jscs, v1.5.0
linter-jshint, v0.1.0

# Dev
No dev packages

Running tasks sequentially

Hello. It would be great to have ability to run tasks sequentially holding ctrl button. In my current project there is many gulp tasks, so writing additional tasks will clutter tasks list.

Support multiple project folders

Tries to open a gulpfile from the first project folder only and fails if its not found. I swapped around the folders and it worked.
Can we support multiple gulpfile(s), one per project folder? The task list display could either show task names prefixed with the project folder name, or have sections per project folder.

gulpfile.babel.js is not used

This plugin does not seem to use the "gulpfile.babel.js" version of the gulpfile. Is there any way this can be easily added?

Switching projects - tab is lost

If using the very popular Project Manager package, and the option of switching projects in the same window feature, the tab containing Gulp Control is lost when you switch back to the project you had it open in.

Is there anyway to maintain this tab open when switching projects in the same window? Thanks!

Use panel instead of pane?

Would it be possible to put this in a panel instead of a pane, so that it could be easily hidden? Maybe even with an icon in the status bar to indicate errors. I don't mind taking a look at this myself and making a PR, unless you've already tried it and run into issues.

click filenames outputted

Add the ability to open the file and goto the line for gulp output.

For example. I have a gulp linting task (eslint).

d:\code\filename.js
   280:30   error [....]

280:30 is the line number and column.

Uncaught Error: spawn ENOTDIR

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.1
Thrown From: gulp-control package 0.5.0

Stack Trace

Uncaught Error: spawn ENOTDIR

At /Users/ken/Desktop/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:376

Error: spawn ENOTDIR
    at exports._errnoException (util.js:1026:11)
    at ChildProcess.spawn (internal/child_process.js:313:11)
    at Object.exports.spawn (child_process.js:392:9)
    at BufferedProcess.spawn (/app.asar/src/buffered-process.js:305:51)
    at BufferedProcess.start (/app.asar/src/buffered-process.js:111:14)
    at /app.asar/src/buffered-process.js:96:12)
    at GulpControlView.module.exports.GulpControlView.runGulp (/packages/gulp-control/lib/gulp-control-view.coffee:147:20)
    at GulpControlView.module.exports.GulpControlView.getGulpTasks (/packages/gulp-control/lib/gulp-control-view.coffee:109:6)
    at GulpControlView.module.exports.GulpControlView.initialize (/packages/gulp-control/lib/gulp-control-view.coffee:40:6)
    at /packages/gulp-control/node_modules/space-pen/lib/space-pen.js:184:25)
    at /packages/gulp-control/lib/gulp-control-view.coffee:12:7)
    at Object.newView (/packages/gulp-control/lib/gulp-control.coffee:20:16)
    at /packages/gulp-control/lib/gulp-control.coffee:10:68)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
    at /app.asar/src/window-event-handler.js:3:59)

Commands

     -4:38 editor:newline (input.hidden-input)
  2x -4:29.8.0 core:move-left (input.hidden-input)
     -4:27.5.0 editor:newline (input.hidden-input)
     -4:25.9.0 core:undo (input.hidden-input)
     -4:21.9.0 core:move-right (input.hidden-input)
  3x -4:21 core:backspace (input.hidden-input)
  2x -4:13.2.0 core:move-right (input.hidden-input)
  5x -4:10.9.0 core:backspace (input.hidden-input)
  2x -4:05.1.0 core:save (input.hidden-input)
     -4:00.3.0 core:copy (input.hidden-input)
  2x -3:55.9.0 gulp-control:toggle (input.hidden-input)
     -2:50.5.0 core:copy (atom-notification.error.icon.icon-flame.native-key-bindings.has-close)
  2x -2:01.1.0 core:paste (input.hidden-input)
     -1:34.9.0 core:copy (input.hidden-input)
     -1:23.4.0 gulp-control:toggle (input.hidden-input)
  3x -0:59.4.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

atom-beautify 0.29.17 
atom-ternjs 0.18.2 
bottom-dock 0.4.4 
color-picker 2.2.5 
git-plus 7.3.3 
gulp-control 0.5.0 
gulp-manager 0.2.19 
run-in-browser 0.1.3 

Unable to copy the output after task run

After running a task by gulp control , I can see the output on side.At times , it shows detailed error, I just need to right click and copy the text for reference to error details.

I tried:

1).Selecting text->Press Ctl+C -> Does not copy the text.
2).Right Click-> Does not show the copy option.

Please suggest.

Thanks,
Vishal

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an al...

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.3.2
System: Microsoft Windows 10 Home
Thrown From: gulp-control package, v0.4.3

Stack Trace

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

At C:\Users\Mateusz\AppData\Local\atom\app-1.3.2\resources\app.asar\node_modules\jquery\dist\jquery.js:328

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

    at eval (native)
    at Function.jQuery.extend.globalEval (C:\Users\Mateusz\AppData\Local\atom\app-1.3.2\resources\app.asar\node_modules\jquery\dist\jquery.js:328:5)
    at [object Object].jQuery.fn.extend.domManip (C:\Users\Mateusz\AppData\Local\atom\app-1.3.2\resources\app.asar\node_modules\jquery\dist\jquery.js:5435:16)
    at [object Object].jQuery.fn.extend.append (C:\Users\Mateusz\AppData\Local\atom\app-1.3.2\resources\app.asar\node_modules\jquery\dist\jquery.js:5218:15)
    at GulpControlView.module.exports.GulpControlView.writeOutput (C:\Users\Mateusz\.atom\packages\gulp-control\lib\gulp-control-view.coffee:145:19)
    at GulpControlView.module.exports.GulpControlView.gulpOut (C:\Users\Mateusz\.atom\packages\gulp-control\lib\gulp-control-view.coffee:151:8)
    at C:\Users\Mateusz\.atom\packages\gulp-control\lib\gulp-control-view.coffee:127:29
    at Socket.<anonymous> (C:\Users\Mateusz\AppData\Local\atom\app-1.3.2\resources\app.asar\src\buffered-process.js:85:13)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at Socket.Readable.push (_stream_readable.js:110:10)
    at Pipe.onread (net.js:523:20)

Commands

     -2:01.3.0 core:save (input.hidden-input)
     -1:54.3.0 core:copy (input.hidden-input)
     -1:51 core:backspace (input.hidden-input)
     -1:48.6.0 core:paste (input.hidden-input)
  2x -1:44.6.0 core:save (input.hidden-input)
  2x -1:20.3.0 core:close (input.hidden-input)
     -1:16.8.0 gulp-control:toggle (atom-pane.pane.active)
     -1:00.1.0 core:backspace (input.hidden-input)
     -0:59.7.0 core:delete (input.hidden-input)
  4x -0:59.3.0 core:backspace (input.hidden-input)
  2x -0:57.7.0 core:save (input.hidden-input)
     -0:48.4.0 gulp-control:toggle (input.hidden-input)
     -0:19.7.0 core:close (atom-pane.pane.active)
     -0:15.1.0 editor:toggle-line-comments (input.hidden-input)
     -0:15 core:save (input.hidden-input)
     -0:07.9.0 gulp-control:toggle (input.hidden-input)

Config

{
  "core": {
    "disabledPackages": [
      "autoprefixer",
      "atom-sync",
      "synced-sidebar",
      "autocomplete-snippets"
    ],
    "ignoredNames": [
      "node_modules",
      "vendor",
      "bower_components"
    ],
    "packagesWithKeymapsDisabled": [
      "autocomplete-plus"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.28.19
css-comb, v2.4.0
editorconfig, v1.2.2
gulp-control, v0.4.3
language-babel, v2.6.2
language-javascript-jsx, v0.3.7
minimap, v4.18.4
pigments, v0.19.3

# Dev
No dev packages

Support light color schemes.

Note: this may be a problem with gulp, not gulp-control.

I use a light theme and the white text doesn't get changed to black text when displayed on a white background. This leads to output that looks like:
image

Error: Cannot find module '../lib/completion'

I have a gulpfile which is verified to be working from the command line, I have run these gulp tasks many times. As soon as I installed this package into Atom and clicked Packages > gulp-control > Open, it errored and spewed out the following:

Retrieving list of gulp tasks
module.js:327
    throw err;
    ^
Error: Cannot find module '../lib/completion'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object. (~/mydir/node_modules/.bin/gulp:13:18)
    at Module._compile (module.js:397:26)
    at Object.Module._extensions..js (module.js:404:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:429:10)
Exited with code 1

I'm not sure why a module would be missing. I have node installed globally in the default /usr/local/bin and gulp and its dependencies installed locally.

Uncaught ReferenceError: index is not defined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.20.0 x64
Electron: 1.6.9
OS: Unknown Windows version
Thrown From: gulp-control package 0.5.0

Stack Trace

Uncaught ReferenceError: index is not defined

At C:\Users\rhinov14e.RHINOV\.atom\packages\gulp-control\lib\gulp-control.coffee:24

ReferenceError: index is not defined
    at Object.newView (/packages/gulp-control/lib/gulp-control.coffee:24:32)
    at /packages/gulp-control/lib/gulp-control.coffee:10:68)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.20.0/resources/app/src/command-registry.js:265:35)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.20.0/resources/app/src/command-registry.js:3:65)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (~/AppData/Local/atom/app-1.20.0/resources/app/src/command-registry.js:166:25)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.20.0/resources/app/src/atom-environment.js:1338:34)
    at EventEmitter.outerCallback (~/AppData/Local/atom/app-1.20.0/resources/app/src/application-delegate.js:335:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -6:41.9.0 outline-view:toggle (input.hidden-input)
  2x -6:33.3.0 diagnostics:toggle-table (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -5:59.1.0 core:undo (input.hidden-input)
     -5:53.6.0 docblockr:parse-enter (input.hidden-input)
     -5:53.6.0 editor:newline (input.hidden-input)
     -5:52 core:save (input.hidden-input)
  2x -5:33.5.0 diagnostics:toggle-table (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -3:26.2.0 settings-view:open (input.hidden-input)
     -2:02.4.0 core:paste (input.hidden-input)
  2x -0:54 core:backspace (input.hidden-input)
     -0:25 outline-view:toggle (input.hidden-input)
  2x -0:17.2.0 gulp-control:toggle (input.hidden-input)

Non-Core Packages

atom-ide-ui 0.3.3 
busy-signal 1.4.3 
docblockr 0.11.0 
gulp-control 0.5.0 
ide-flowtype 0.17.4 
ide-typescript 0.1.6 
language-typescript-grammars-only 1.6.0 

Pane::addItem(item, 0) is deprecated in favor of Pane::addItem(item, {index: 0})

Pane.addItem - :26043:20
Object.newView - $HOME/.atom/packages/gulp-control/lib/gulp-control.coffee:30:19
atom-workspace.atom.commands.add.gulp-control:toggle - $HOME/.atom/packages/gulp-control/lib/gulp-control.coffee:16:26
CommandRegistry.handleCommandEvent - :18901:35
- :18639:65
Object.didConfirmSelection - :42377:35

Some characters not being interpreted correctly

I am using a mocha reporter called landing, and the output should like this:
screen shot 2015-06-26 at 10 59 35 am

Instead they come out like this

screen shot 2015-06-26 at 10 59 46 am

I am ok to live with it for now, because this plugin is awesome. But it is a bummer to not see the output correctly.

I think it has to do with cursor erases, but I am no expert (or even a novice)

Uncaught Error: ENOENT: no such file or directory, scandir 'atom://about'

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.3.2
System: Mac OS X 10.11
Thrown From: gulp-control package, v0.4.3

Stack Trace

Uncaught Error: ENOENT: no such file or directory, scandir 'atom://about'

At fs.js:813

Error: ENOENT: no such file or directory, scandir 'atom://about'
    at Error (native)
    at Object.fs.readdirSync (fs.js:813:18)
    at Object.fs.readdirSync (ATOM_SHELL_ASAR.js:454:28)
    at GulpControlView.module.exports.GulpControlView.getGulpCwd (/Users/dmitriyryajov/.atom/packages/gulp-control/lib/gulp-control-view.coffee:52:5)
    at GulpControlView.module.exports.GulpControlView.getGulpTasks (/Users/dmitriyryajov/.atom/packages/gulp-control/lib/gulp-control-view.coffee:77:24)
    at GulpControlView.module.exports.GulpControlView.initialize (/Users/dmitriyryajov/.atom/packages/gulp-control/lib/gulp-control-view.coffee:33:6)
    at GulpControlView.View [as constructor] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
    at new GulpControlView (/Users/dmitriyryajov/.atom/packages/gulp-control/lib/gulp-control-view.coffee:13:3)
    at Object.module.exports.GulpControl.newView (/Users/dmitriyryajov/.atom/packages/gulp-control/lib/gulp-control.coffee:20:16)
    at atom-workspace.atom.commands.add.gulp-control:toggle (/Users/dmitriyryajov/.atom/packages/gulp-control/lib/gulp-control.coffee:10:68)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1010:28)
    at emitOne (events.js:77:13)
    at EventEmitter.emit (events.js:169:7)

Commands

     -2:44.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -2:44.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -2:43.3.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -2:42.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -2:42.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -2:41.2.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  7x -2:36.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  6x -2:31 core:move-down (atom-text-editor.editor.mini.is-focused)
     -2:29.5.0 core:move-up (atom-text-editor.editor.mini.is-focused)
     -2:29.1.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -2:28 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:28 settings-view:install-packages-and-themes (atom-text-editor.editor)
     -2:25.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:26.4.0 gulp-watcher:toggle (atom-text-editor.editor.is-focused)
     -0:17.3.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -0:00.8.0 gulp-control:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {}
}

Installed Packages

# User
Fusion, v0.0.113
build-gulp, v0.6.0
debugger, v0.0.1
gulp-control, v0.4.3
gulp-manager, v0.2.18
gulp-watcher, v0.2.1
json-colorer, v0.3.0
minimap, v4.19.0
minimap-split-diff, v0.3.0
node-debugger, v1.3.2
pretty-json, v0.4.1

# Dev
No dev packages

Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: dev

[Enter steps to reproduce below:]

  1. Make a gulp task with colon in it :
  2. Open gulp-control in Atom
  3. Click on the task you created above

Atom Version: 0.201.0
System: Microsoft Windows 8.1 Enterprise
Thrown From: gulp-control package, v0.4.0

Stack Trace

Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: dev

At ...atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:1458

Error: Syntax error, unrecognized expression: unsupported pseudo: dev
  at Function.Sizzle.error (...\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:1458:8)
  at Sizzle.selectors.filter.PSEUDO (...\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:1765:13)
  at matcherFromTokens (...\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:2308:44)
  at Sizzle.compile (...\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:2450:13)
  at Sizzle.select (...\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:2536:16)
  at Function.Sizzle (...\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:855:9)
  at GulpControlView.jQuery.fn.extend.find (...\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:2695:11)
  at GulpControlView.module.exports.GulpControlView.runGulp (...\.atom\packages\gulp-control\lib\gulp-control-view.coffee:128:6)
  at space-pen-div.<anonymous> (...\packages\gulp-control\lib\gulp-control-view.coffee:30:17)
  at space-pen-div.jQuery.event.dispatch (...\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
  at space-pen-div.elemData.handle (...\Local\atom\app-0.201.0\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Commands

     -0:50.8.0 atomatigit:show (atom-workspace.workspace.scrollbars-visible-always.theme-atom-light-syntax.theme-atom-light-ui)
     -0:07.5.0 gulp-control:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ]
  }
}

Installed Packages

# User
atomatigit, v1.5.1
gulp-control, v0.4.0

# Dev
No dev packages

Autoscroll feature request

Hey,

this is, in essence, a first-world problem.

Almost always one of my gulp tasks is watch, which runs at least 1 task on let's say .scss file changes. When these have been running for a while I work and behaving correctly, it's all fine.

The problem is that when I save a file with a syntax error and it can't for instance compile to .css, the error on the control page is waaaay down somewhere and I need to scroll to see it.

Would it be possible for gulp-control to always have scroll-position on the bottom? I'd even be willing to write it up myself if I get some pointers :)

Thanks.

Add option to type task

Input field at the bottom of the panel to be able to type the task 'gulp watch' etc instead of clicking from the options.

Exited with code 1 gulpfile in subdir..

Current output:
"Using C:\Users\anders\Documents\GitHub\fylling.solutions\app/gulpfile.babel.js", notice the last slash is the other direction. Not sure if it matters?

"Retrieving list of gulp tasks"

"Exited with code 1"

gulpfile.babel.js
`var gulp = require("gulp");
var sourcemaps = require("gulp-sourcemaps");
var babel = require("gulp-babel");
var concat = require("gulp-concat");
var uglify = require("gulp-uglify");
var gutil = require("gulp-util");

var config = {

"javascript" : {
    "root" : "source/javascript/",
    "folders" : [
        "./",
        "components/"
    ],
    "extension" : "js" //TODO: convert to array type
}

};

var files = {
"javascript" : [],
"stylesheet" : [],
"html" : []
};

/**

  • Load all config information
    */
    {
    function getPaths (root, folders, extension) {
    var arr = [];

    for (var i = folders.length - 1; i >= 0; i -= 1) {
        var folder = folders[i];
    
        if (folder === "./" || folder === "/") {
            if (root[root.length - 1] === "/") {
                folder = "";
            }
        }
    
        arr.push(root + folder + "**/*." + extension);
    }
    
    return arr;
    

    }

    gutil.log("Added following languages from config:");
    for (var language in config) {
    if (config.hasOwnProperty(language)) {
    var file = config[language];
    files[language] = getPaths(file.root, file.folders, file.extension);

        gutil.log("\t-> ", gutil.colors.magenta(language));
    }
    

    }
    }

gulp.task("bundle-js", function () {
return gulp.src(files.javascript)
.pipe(sourcemaps.init())
.pipe(babel())
.pipe(concat("app.js"))
.pipe(uglify())
.pipe(sourcemaps.write("./"))
.pipe(gulp.dest("./product/"));
});

gulp.task("default", function () {
gulp.watch(files.javascript, ["bundle-js"]);
});
`

Any idea why I'm getting this code 1 error?

Unable to Split Tab

When I right click on the gulp.js:control tab and choose "Split X" (Up, Down, Left, or Right), the tab does not go anywhere. It would be useful to split the tab down or to the right, so I can see my source code and the gulp result at the same time.

Execute gulp from local install.

It would appear that this expects gulp to be in the path. It would be really nice if this used the gulp from node_modules/.bin/gulp (node_modules/.bin/gulp.cmd on windows) instead when gulp isn't available on the path.

Attempting to execute gulp from node_modules first would be preferable since a version inconsistency between globally installed gulp and locally installed gulp should go with what is local since that is the most likely thing to work with the local gulpfile without any compatibly problems.

/usr/bin/env: node: No such file or directory

2015-06-30_02-42-12

I think this is caused by my node path because node location is on /home/akhyar/.nvm/versions/node/v0.12.5/bin/node, installed using nvm. I hope there's something we can do to solve this.

Thanks

NODE_ENV is inherited from atom process...always 'production'

First of all, thanks for the awesome plugin!

When I run gulp tasks I will run production builds based on the NODE_ENV environment variable. It would be nice if this was configurable, because the default inherited from the atom process is always "production". When I am developing in atom, I usually want to run development builds.

Error, when open gulp-control, from packages menu - Uncaught Error: ENOENT: no such file or directory, scandir 'atom://config'

File:
fs.js:813

Stack trace:
Error: ENOENT: no such file or directory, scandir 'atom://config'
at Error (native)
at Object.fs.readdirSync (fs.js:813:18)
at Object.fs.readdirSync (ATOM_SHELL_ASAR.js:449:28)
at GulpControlView.module.exports.GulpControlView.getGulpCwd (/Users/user/.atom/packages/gulp-control/lib/gulp-control-view.coffee:52:5)
at GulpControlView.module.exports.GulpControlView.getGulpTasks (/Users/user/.atom/packages/gulp-control/lib/gulp-control-view.coffee:77:24)
at GulpControlView.module.exports.GulpControlView.initialize (/Users/user/.atom/packages/gulp-control/lib/gulp-control-view.coffee:33:6)
at GulpControlView.View (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
at new GulpControlView (/Users/user/.atom/packages/gulp-control/lib/gulp-control-view.coffee:13:3)
at Object.module.exports.GulpControl.newView (/Users/user/.atom/packages/gulp-control/lib/gulp-control.coffee:20:16)
at atom-workspace.atom.commands.add.gulp-control:toggle (/Users/user/.atom/packages/gulp-control/lib/gulp-control.coffee:10:68)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:245:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:145:19)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)
at emitOne (events.js:77:13)
at EventEmitter.emit (events.js:169:7)

Uncaught Error: ENOENT: no such file or directory, scandir 'atom://.atom/config'

[Enter steps to reproduce below:]

  1. Open Atom
  2. Go to Packages/gulp-control/Open

Atom Version: 1.3.2
System: Mac OS X 10.10.5
Thrown From: gulp-control package, v0.4.3

Stack Trace

Uncaught Error: ENOENT: no such file or directory, scandir 'atom://.atom/config'

At fs.js:813

Error: ENOENT: no such file or directory, scandir 'atom://.atom/config'
    at Error (native)
    at Object.fs.readdirSync (fs.js:813:18)
    at Object.fs.readdirSync (ATOM_SHELL_ASAR.js:454:28)
    at GulpControlView.module.exports.GulpControlView.getGulpCwd (/Users/macbook/.atom/packages/gulp-control/lib/gulp-control-view.coffee:52:5)
    at GulpControlView.module.exports.GulpControlView.getGulpTasks (/Users/macbook/.atom/packages/gulp-control/lib/gulp-control-view.coffee:77:24)
    at GulpControlView.module.exports.GulpControlView.initialize (/Users/macbook/.atom/packages/gulp-control/lib/gulp-control-view.coffee:33:6)
    at GulpControlView.View [as constructor] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
    at new GulpControlView (/Users/macbook/.atom/packages/gulp-control/lib/gulp-control-view.coffee:13:3)
    at Object.module.exports.GulpControl.newView (/Users/macbook/.atom/packages/gulp-control/lib/gulp-control.coffee:20:16)
    at atom-workspace.atom.commands.add.gulp-control:toggle (/Users/macbook/.atom/packages/gulp-control/lib/gulp-control.coffee:10:68)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1010:28)
    at emitOne (events.js:77:13)
    at EventEmitter.emit (events.js:169:7)

Commands

     -0:12.1.0 git-control:toggle (atom-text-editor.editor.is-focused)
     -0:01.1.0 gulp-control:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "projectHome": "Users/macbook/Projects"
  }
}

Installed Packages

# User
color-picker, v2.0.14
file-icons, v1.6.13
git-control, v0.4.0
gulp-control, v0.4.3
linter, v1.11.3
minimap, v4.19.0
pigments, v0.19.5
travis-ci-status, v0.18.0

# Dev
No dev packages

Uncaught Error: spawn EACCES

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.3.3
System: Mac OS X 10.11.1
Thrown From: gulp-control package, v0.4.3

Stack Trace

Uncaught Error: spawn EACCES

At /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:260

Error: spawn EACCES
    at exports._errnoException (util.js:837:11)
    at ChildProcess.spawn (internal/child_process.js:298:11)
    at Object.exports.spawn (child_process.js:351:9)
    at BufferedProcess.module.exports.BufferedProcess.spawn (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:188:44)
    at new BufferedProcess (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:52:14)
    at GulpControlView.module.exports.GulpControlView.runGulp (/Users/dajunshi/.atom/packages/gulp-control/lib/gulp-control-view.coffee:140:20)
    at GulpControlView.module.exports.GulpControlView.getGulpTasks (/Users/dajunshi/.atom/packages/gulp-control/lib/gulp-control-view.coffee:102:6)
    at GulpControlView.module.exports.GulpControlView.initialize (/Users/dajunshi/.atom/packages/gulp-control/lib/gulp-control-view.coffee:33:6)
    at GulpControlView.View [as constructor] (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
    at new GulpControlView (/Users/dajunshi/.atom/packages/gulp-control/lib/gulp-control-view.coffee:13:3)
    at Object.module.exports.GulpControl.newView (/Users/dajunshi/.atom/packages/gulp-control/lib/gulp-control.coffee:20:16)
    at atom-workspace.atom.commands.add.gulp-control:toggle (/Users/dajunshi/.atom/packages/gulp-control/lib/gulp-control.coffee:10:68)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1010:28)
    at emitOne (events.js:77:13)
    at EventEmitter.emit (events.js:169:7)

Commands

     -0:45 core:close (atom-text-editor.editor.is-focused)
     -0:02.4.0 gulp-control:toggle (textarea.)

Config

{
  "core": {
    "audioBeep": false,
    "disabledPackages": [
      "symbols-view"
    ]
  }
}

Installed Packages

# User
Remote-FTP, v0.7.15
atom-ctags, v4.4.2
atom-ternjs, v0.12.2
autocomplete-paths, v1.0.2
emmet, v2.3.17
gulp-control, v0.4.3
open-recent, v4.0.1
terminal-plus, v0.14.5

# Dev
No dev packages

Exited with code 1

I use gulp to (among others) compile typescript using the browserify package. If there is a compile error gulp-control just displays "exited with code 1" wheras if I use gulp from the terminal, it displays the location of the error in my source file.

My System: Windows 8, atom 1.9.9, latest version of gulp-control

I did a bit of debugging, seems it has something to do with line-endings and the additional split by '\r' in writeOutput. If I remove that, it works for me (but i don't know how this impacts other systems)

Can't detect `gulpFile.js`

Thanks for the awesome plugin.

In our project for some reasons the gulpfile.js has a big F. And this plugin can't find it showing the following error:

Unable to find [G|g]ulpfile.[js|cofee]

It would be great if it was case insensitive. Gulp itself seems to be case insensitive (at least on Windows).

Add option to stop a gulp task

I have a gulp task called serve which turns on the server for my application at specific port. I want to be able to stop this task at my will.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.