JSRocksHQ / harmonic

The next static site generator
http://harmonicjs.com/
MIT License
283 stars 26 forks source link

[dev] Grunt and npm link #93

Closed jaydson closed 9 years ago

jaydson commented 9 years ago

Every time i build Harmonic with grunt, the global harmonic disappear from the path, so i must to run npm link.

UltCombo commented 9 years ago

Weird, I'll test it when I get home. Though, note that I'm currently experimenting with gulp (in hopes that we can finally have an working watch task). The gulp workflow is about 90% done, I'll try to get it 100% tonight so I can try to implement it in Harmonic.

Anyway, both Grunt and gulp tasks have about the same functionality -- they delete the dist directory and rebuild it, so if there's an issue with that, the problem will persist even after we switch to gulp.

UltCombo commented 9 years ago

Confirmed, same issue with OS X 10.10's zsh.

UltCombo commented 9 years ago

@jaydson please try the npm-link branch and see if it fixes this issue. =]

Also, the watch task should be working now, just run npm run dev

jaydson commented 9 years ago

Working perfectly :+1: