sindresorhus / gulp-app Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Gulp as an app
License: MIT License
[DEPRECATED] Gulp as an app
License: MIT License
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.
https://github.com/atom/atom-shell/blob/master/docs/api/auto-updater.md
Will probably need a server for this as it requires explicit response codes.
@addyosmani requested an option to lock it to the current folder so it won't switch if you go to another folder with a gulpfile.
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
readme.md ##dev refers to "atom-shell" (now called "electron")
In Follow Finder setting, gulp-app can not track if user move to another directory.
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".
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?
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
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.
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.
Applescript editor opens after each task and then Gulp-app crashes.
What should the hotkey be?
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.
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.
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?
Gulp sub task names are truncated
It seems better to use BrowserWindow and html5 Notification instead of displayNotification. It solve #23 and looks better because it shows icon. also for window, linux support.
In case they forgot.
I kinda like it, but not sure if it's a good idea or not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.