Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp Weirdness #2

Open
mhoffmeyerDC opened this issue Apr 21, 2015 · 3 comments
Open

Gulp Weirdness #2

mhoffmeyerDC opened this issue Apr 21, 2015 · 3 comments

Comments

@mhoffmeyerDC
Copy link
Contributor

Running Windows... (why am I doing this to myself?) on file change event.

[20:55:25] Starting 'processhtml'...
[20:55:25] Finished 'processhtml' after 36 ms
[20:55:25] Starting 'minifyhtml'...
[20:55:25] Finished 'minifyhtml' after 1.02 ms
[20:55:27] { [Error: EPERM, open 'C:\cygwin64\home\Ada\Desktop\tanks\dist\main.min.js']
  errno: 50,
  code: 'EPERM',
  path: 'C:\\cygwin64\\home\\Ada\\Desktop\\tanks\\dist\\main.min.js' }
[20:55:27] { [Error: EPERM, open 'C:\cygwin64\home\Ada\Desktop\tanks\dist\main.min.js']
  errno: 50,
  code: 'EPERM',
  path: 'C:\\cygwin64\\home\\Ada\\Desktop\\tanks\\dist\\main.min.js' }
[20:55:27] 'compile' errored after 2.27 s
[20:55:27] Error: EPERM, open 'C:\cygwin64\home\Ada\Desktop\tanks\dist\main.min.js'
@mhoffmeyerDC
Copy link
Contributor Author

I think I fixed it with ab652b2e07f7130b7abdd59ea8092d4db811323f. The bundler.on('update', bundlee) was getting called multiple times as part of the build/compile task. Oh, and I can haz sourceMaps?

@zerobasedindex
Copy link
Member

So your first problem is you're using cygwin.

Changes seem to work for me as well, but the build process now takes 20s or so.

@mhoffmeyerDC
Copy link
Contributor Author

So your first problem is you need a faster CPU, mine compiles in 12s. :-P

The 12s is no bueno, not sure why it's doing that. I added gulp-debug to both the processhtml and compile tasks which shed no light on things. Will putz with it more later.

I don't think it's cygwin, I was mostly just using it for terminal emulation. Had the same problem running via cmd and via the WebStorm build-in terminal and gulp plugin. Tried on both node 0.10.36 and iojs 1.8.1.

Obviously, I should just give up trying to do anything productive in windows other than play games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants