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

監視を無限にループする #8

Open
sansoohan opened this issue Jan 21, 2021 · 0 comments
Open

監視を無限にループする #8

sansoohan opened this issue Jan 21, 2021 · 0 comments

Comments

@sansoohan
Copy link

sansoohan commented Jan 21, 2021

Type Script Build のため、watcher を入れる途中で発見。

https://github.com/realglobe-Inc/atenet/commit/d78caf3dfb783497c20edf4b909110596516ac85

  'ui:chime': [
    npx('tsc', '--build', 'client/helpers/chime'),
    // pon-task-wath is not working well : Infinite Loop
    watch('client/helpers/chime/**/*.ts', (event, filename) => {
      if (process.env.NODE_ENV !== 'production') {
        // eslint-disable-next-line no-console
        console.log('File changed', filename)
      }
    }),
  ],

該当のファイルを同じ内容で保存したらループが始まる。
該当のファイルを別の内容で保存したらループが止まる。

[ui:chime] File changed: client/helpers/chime/ChimeVideoRoom.ts
File changed /Users/han/Develop/atenet/packages/web-tachiai/client/helpers/chime/ChimeVideoRoom.ts
[ui:chime] File changed: client/helpers/chime/ChimeVideoRoom.ts
File changed /Users/han/Develop/atenet/packages/web-tachiai/client/helpers/chime/ChimeVideoRoom.ts
[ui:chime] File changed: client/helpers/chime/ChimeVideoRoom.ts
File changed /Users/han/Develop/atenet/packages/web-tachiai/client/helpers/chime/ChimeVideoRoom.ts
[ui:chime] File changed: client/helpers/chime/ChimeVideoRoom.ts
File changed /Users/han/Develop/atenet/packages/web-tachiai/client/helpers/chime/ChimeVideoRoom.ts
[ui:chime] File changed: client/helpers/chime/ChimeVideoRoom.ts
File changed /Users/han/Develop/atenet/packages/web-tachiai/client/helpers/chime/ChimeVideoRoom.ts
@sansoohan sansoohan changed the title 無限にループする 監視を無限にループする Jan 21, 2021
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