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

[CLOSED] Implement node-module add-on for native Windows file watching #266

Open
core-ai-bot opened this issue Aug 17, 2021 · 6 comments
Open

Comments

@core-ai-bot
Copy link
Member

Issue by bchintx
Wednesday Jan 29, 2014 at 17:41 GMT
Originally opened as adobe#413


Fixes brackets issue #6551- "[File Watchers] Can not externally rename a directory with subfolders on Windows"

Requires associated pull request #6686 from brackets repo.

Calling a native node-module add-on in Windows requires that the node process be named "node.exe", rather than our renamed "Brackets-node.exe". This change reverts our previous renaming so that we ship with "node.exe" instead.

NOTE: this pull request against the release branch replaces the earlier PR #412 against master.


bchintx included the following code: https://github.com/adobe/brackets-shell/pull/413/commits

@core-ai-bot
Copy link
Member Author

Comment by bchintx
Wednesday Jan 29, 2014 at 17:50 GMT


I've reviewed Jeff's changes and they look great. I'm fine with merging this change just as soon as PR #6686 is reviewed and ready to merge.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Jan 30, 2014 at 21:08 GMT


I see more references to "Brackets-node" when I search brackets-shell:

  C:\Users\redmunds\github\brackets-shell\Brackets.vcxproj(406):    <CustomBuild Include="deps\node\Brackets-node.exe">
  C:\Users\redmunds\github\brackets-shell\Brackets.vcxproj(408):      <Command>call mkdir &quot;$(OutDir)&quot; 2&gt;nul &amp; set ERRORLEVEL=0 &amp; copy /Y &quot;deps\node\Brackets-node.exe&quot; &quot;$(OutDir)Brackets-node.exe&quot;</Command>
  C:\Users\redmunds\github\brackets-shell\Brackets.vcxproj(409):      <Message>Copying deps/node/Brackets-node.exe to $(OutDir)\Brackets-node.exe</Message>
  C:\Users\redmunds\github\brackets-shell\Brackets.vcxproj(410):      <Outputs>$(OutDir)\Brackets-node.exe</Outputs>
  C:\Users\redmunds\github\brackets-shell\Brackets.vcxproj.filters(31):    <None Include="deps\node\Brackets-node.exe">
  C:\Users\redmunds\github\brackets-shell\deps\cef\Release\dev\src\filesystem\impls\appshell\node\FileWatcherDomain.js(52): * the fsevents module is compiled by default for x86-64, but the Brackets-node
  C:\Users\redmunds\github\brackets-shell\Release\dev\src\filesystem\impls\appshell\node\FileWatcherDomain.js(52): * the fsevents module is compiled by default for x86-64, but the Brackets-node

UPDATE: Sorry, I should have cleaned that up before I pasted it in.

@core-ai-bot
Copy link
Member Author

Comment by bchintx
Thursday Jan 30, 2014 at 21:56 GMT


@JeffryBooher did you want to respond to @redmunds comment? My response would be that we don't need to change all name instances since this is a Windows-only (and possibly a temporary) fix.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Jan 30, 2014 at 22:12 GMT


Sorry, I pasted that list before I cleaned it up. The only references I'm concerned about are the ones in Brackets.vcxproj

@core-ai-bot
Copy link
Member Author

Comment by JeffryBooher
Thursday Jan 30, 2014 at 22:56 GMT


@redmunds did you run grunt setup?

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Jan 30, 2014 at 23:46 GMT


No. That was it.

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

1 participant