Code Monkey home page Code Monkey logo

gulp-app's Introduction

gulp-app

Gulp as an app

Easily run gulp tasks from the current directory in Finder and get notified when it's finished.

macOS only for now, but will expand when further along.

Install

$ brew cask install gulp

Or download the app, unzip, and move it to the Applications folder.

Launch on startup

Follow this guide if you would like the app to launch when you start your computer.

Dev

$ npm install

Run

$ npm start

Build

$ npm run build

License

MIT © Sindre Sorhus

gulp-app's People

Contributors

anirudhb avatar arthurvr avatar cognitom avatar fweinb avatar kt3k avatar sindresorhus avatar zeakd avatar

Stargazers

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

Watchers

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

gulp-app's Issues

Windows support

is this going to be released for the Windows platform? @sindresorhus you're a programming god and you rock, thanks for all the awesome work you do and share with the rest of us.

nvm support

I have no global installed gulp, but in the nvm.
It'd be nice that an user can select which node environment to be used.

Doesn't detect gulpfile in open folder

Created as requested.
screen shot 2014-05-20 at 1 42 46 pm

  1. started gulp-app
  2. opened folder.
  3. checked menu / watched output.
  4. After bringing the window into focus a couple more times it seemed to get it.

screen shot 2014-05-20 at 1 46 02 pm

After found it listed multiples of my build task. No additional console logs to associate with behavior.

Like mentioned elsewhere i'd suggest ditching this method. Its cool... but doesn't work well. Doesn't stay locked etc.

Linux support

The blocker for Linux support is being able to get the current folder in the file manager, so it can know where to look for a gulpfile.

Only switch to a new project if it has a gulpfile

From @addyosmani

I think it would make sense to allow the user to choose the folder they would like to target for use with the app (e.g only allow the folder to be selected if a gulpfile is present). I usually have multiple windows open during development and had to cycle back closing them to ensure there wasn't more than one with a gulpfile in there.

It should only switch to a new project if it has a gulpfile.

Currently it switches to any active folder and shows "No gulpfile found".

Not working on Mac Os 10.9.3

Hi,

it always shows no gulpfile found on my macbook.
(I tried even kill totalfinder but still same)
Do you need any further informations?

screen shot 2014-05-17 at 13 40 58

Enhancement proposal

Inspired by #10 and #12 (check out the screenshot), here's a braindump on how I imagine the app could work.

Feedback wanted.

+---------------+      +---------------+
|web starter kit+------+Open project   |
+---------------+      +---------------+
|default        |      |awesome website|
|clean          |      |some app       |
|serve          |      +---------------+
+---------------+      |Clear          |
|✓ Follow Finder|      +---------------+
+---------------+                       
|Quit           |                       
+---------------+                       

Follow Finder is only visible on OSX/Win. It's checked by default and will follow the current folder in Finder/Explorer.

Question: Should Follow Finder add projects to Recent Projects?
Question2: Better name than Follow Finder?

You can also manually select a project with Open project. When opened it will be added to Recent projects. When a project is selected with either of these methods, Follow Finder will be unchecked.

Drag/drop on the tray icon to set the active project would also be nice.

What do you think? Anything unclear?

@FWeinb @cognitom @aaronogle @stevelacy @addyosmani @passy @stephenplusplus

Couldn't find package.json

I am getting this error: Couldn't find package.json and on taskbar No gulpfile found, any idea? or what do I need to do?

A Javascript error occured in the browser process

when I open the app:

Uncaught Exception:
TypeError: Arguments to path.join must be strings
    at Object.posix.join (path.js:467:13)
    at Object.<anonymous> (/Applications/Gulp.app/Contents/Resources/atom.asar/browser/lib/init.js:102:21)
    at Object.<anonymous> (/Applications/Gulp.app/Contents/Resources/atom.asar/browser/lib/init.js:104:4)
    at Module._compile (module.js:418:26)
    at Object.Module._extensions..js (module.js:436:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:298:12)
    at Function.Module.runMain (module.js:459:10)
    at startup (node.js:131:18)
    at node.js:879:3

change build script

I think it's better to use locally installed electron-packager instead of globally installed electron-packager. However, I have no idea how to use $npm_package_productName and to set the icon of Electron app. --icon=./[email protected] , and .ico, .icns did not work. Could you please tell me how to build it?

Windows support

The blocker for Windows support is being able to get the current folder in Explorer, so it can know where to look for a gulpfile. I'm not sure how to find that on Windows.

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.