NodeWebkit Grunt is not working properly
Hi! I'm using NodeWebkit! In few days i seen grunt in more sites and says this is useful and live reload (its super feature)! I downloaded Grunt demo (https://github.com/nwjs/grunt-nw-builder). If i open nw.exe, NodeWebkit runs Gruntfile.js! I extraced nw and grunt-nw in same folder, maybe its wrong? I am using Windows 10 x32 (x86)
Let me know if somehow wrong, sorry for bad english :)
It's possible you have nw.js/NodeWebkit confused with node.js itself. nw.js is a app runtime, for making native apps with HTML/JS. Node.js is a "platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications."
grunt-nw-builder is for building up and packaging nw.js applications, not for live reload within them.
grunt, on the other hand is a task runner for node.js applications—that is, still only for building them, not for use while running them.
grunt-nw-builder is one of the many packages available for grunt, including grunt-contrib-watch, which may be related to what you are talking about.
There's a wiki page on implementing live reload inside nw.js applications, which is what I think you might be trying to do.
Hi and Thanks @bleush38p I'm know what is Node.js and NodeWebkit and it's difference, my problem is:
- Package extraced and placed as showed in NodeWebkit README and NodeWebkitGrunt README => 2) If i open NW.exe and running with Command Prompt, running Gruntfile.js!
I what need do for running page, not a Gruntfile.js?
What are you trying to do? Are you trying to implement live reload on your application? Or are you trying to automatically build node webkit packages?
I want implement gruntjs to nw
Okay, but why? What do you want to do with grunt?
NodeWebkitGrunt is not a way to use grunt inside nw.js. It is a tool that you can use to automatically package nw.js applications.
Ok, thanks! I seen gruntjs is useful application/product in many sites/blogs.