X

Geertjan's Blog

  • January 19, 2015

Gulp for NetBeans IDE (Part 2)

Geertjan Wielenga
Product Manager

Turns out there was no point in getting started making Gulp support for NetBeans IDE myself, since it's already part of daily development builds, and much better than my support was going to be.

For details on this and all the other awesome new features that are already available, go here:

wiki.netbeans.org/NewAndNoteworthyNB81 

Join the discussion

Comments ( 6 )
  • guest Monday, January 19, 2015

    Gulp is the future. Definitely glad to see it making its way into core. Curious to see how well it will work. Currently, I develop with AMPPS, gulp.js, and WordPress. Gulp.js live-reloads my SASS scripts. It also does page refreshes whenever I save a PHP file. As you can imagine, this is pretty revolutionary for the WP workflow. Currently, I have to run gulp from the CLI. Curious how NB will implement it.

    You can check out my gulp.js file here: https://github.com/elimc/jumpstart/blob/master/gulpfile.js

    The auto page refresh only works when I have the path set at localhost:3000. Sometimes it breaks randomly, and I have to use 127.0.0.1, which works, but doesn't auto refresh for PHP and SASS. Not sure why.


  • Kws Tuesday, January 20, 2015

    Because Gulp gives you vanilla JS to declare your task, you can programmaticaly declare new tasks when Gulpfile.js is parsed.

    Do you know if NB is able to discover these kind of tasks ?


  • Geertjan Tuesday, January 20, 2015

    Yes, NetBeans is able to do that.


  • guest Wednesday, May 27, 2015

    I'm trying to use gulp (and / or grunt) with netbeans - very exciting possibilities indeed!

    ...but only in theory, cause I'm having serious trouble getting it to work with the "Upload on save" feature (which I cannot live without). Netbeans doesn't detect changes made by grunt / gulp, and so doesn't upload the generated files, rendering all the gulp goodness completely useless (for my use case at least).

    I posted a more complete description of the problem here in the hopes that I'm simply doing it wrong:

    http://stackoverflow.com/questions/30488923/grunt-or-gulp-with-netbeans-and-upload-on-save

    Any chance you could take a look and give some advice, or should I just post a bug report and have patience?


  • Geertjan Wednesday, May 27, 2015

    Always best to join the nbusers mailing list and ask your questions there: https://netbeans.org/projects/www/lists/nbusers/archive


  • Jonny Friday, February 5, 2016

    I'd like to start using gulp with netbeans but can't find any documentation how best to set it up.

    Ideally I'd like to be able to use the same gulp tasks and node_module across multiple projects to process PostCSS and minify, prefix css and js etc.

    I've tried running npm and gulp tasks but it errors because its looking in my user directory, when I am using MAMP and all my project are in the htdocs folder and I don't know how to change the directory in netbeans .

    I'm very interested to see how people are using netbeans and gulp?


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.